Package dev.denux.dtp.util
Class PrimitiveUtil
java.lang.Object
dev.denux.dtp.util.PrimitiveUtil
A utility class that contains useful methods regarding primitive types.
-
Method Summary
-
Method Details
-
wrap
Wraps a primitive type to their wrapper class.- Parameters:
clazz
- theClass
you want to wrap.- Returns:
- the wrapper class or the given class if they are no wrapper class for it.
-