public final class ClassUtil extends Object
Modifier and Type | Method and Description |
---|---|
static void |
clear() |
static Object |
deserialize(byte[] data) |
static boolean |
equals(Object target,
Object o) |
static Class<?> |
findClass(String name) |
static Class<?> |
getRawType(Type t) |
static int |
hashCode(Object target) |
static ParameterizedType |
resolveParameterizedType(Type t,
Class<?> baseClass) |
static byte[] |
serialize(Object o) |
static String |
toLowerCamel(String name) |
static String |
toString(Object target) |
static String |
toUpperCamel(String name) |
public static void clear()
public static ParameterizedType resolveParameterizedType(Type t, Class<?> baseClass)
public static byte[] serialize(Object o) throws ObjectStreamException
ObjectStreamException
public static Object deserialize(byte[] data) throws ObjectStreamException, ClassNotFoundException
public static int hashCode(Object target)
Copyright © 2013. All rights reserved.