public class GeneralUtilities extends Object
| Constructor and Description |
|---|
GeneralUtilities() |
| Modifier and Type | Method and Description |
|---|---|
static Class<?> |
loadClass(ClassLoader cl,
String cName)
Loads the class from the given classloader or returns null (does not throw).
|
static boolean |
safeEquals(Object a,
Object b)
Returns true if a is equals to b, or both
and and b are null.
|
public static boolean safeEquals(Object a, Object b)
a - A possibly null object to compareb - A possibly null object to comparepublic static Class<?> loadClass(ClassLoader cl, String cName)
cl - The non-null classloader to load the class fromcName - The fully qualified non-null name of the class to loadCopyright © 2009-2015 Oracle Corporation. All Rights Reserved.