Java Type Coerce coerce(final Class klass)

Here you can find the source of coerce(final Class klass)

Description

coerce

License

Open Source License

Declaration

private static <T> Class<T> coerce(final Class<?> klass) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    private static <T> Class<T> coerce(final Class<?> klass) {
        @SuppressWarnings("unchecked")
        final Class<T> result = (Class<T>) klass;
        return result;
    }/* w w  w  .  j  a  va2s. co  m*/
}

Related

  1. coerce(Object obj, Class c)
  2. coerce(Object val, Class clz)
  3. coerce(Object val, Class c)
  4. coerce(Object value, Class clazz)