de.danielbechler.util
Class Classes
java.lang.Object
de.danielbechler.util.Classes
public final class Classes
- extends Object
- Author:
- Daniel Bechler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isPrimitiveNumericType
public static boolean isPrimitiveNumericType(Class<?> clazz)
isPrimitiveType
public static boolean isPrimitiveType(Class<?> clazz)
isPrimitiveWrapperType
public static boolean isPrimitiveWrapperType(Class<?> clazz)
isSimpleType
public static boolean isSimpleType(Class<?> clazz)
freshInstanceOf
public static <T> T freshInstanceOf(Class<T> clazz)
typesOf
public static Set<Class<?>> typesOf(Object... values)
allAssignableFrom
public static boolean allAssignableFrom(Class<?> sharedType,
Iterable<? extends Class<?>> types)
Copyright © 2012. All Rights Reserved.