|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmil.navy.nps.util.ClassUtilities
Constructor Summary | |
ClassUtilities()
|
Method Summary | |
static int |
nextSerialNum()
|
static boolean |
objectIsKindOfClass(java.lang.Object pObject,
java.lang.Class pClass)
Return true if class of object, or any superclass thereof, is the same as the class argument. |
static boolean |
objectIsMemberOfClass(java.lang.Object pObject,
java.lang.Class pClass)
Returns true if the object passed in is an instance of the class passed in. |
static boolean |
objectIsSubclassOfClass(java.lang.Object pObject,
java.lang.Class pClass)
Returns true if the object passed in is a subclass of the class passed in. |
static void |
showActiveThreads()
This displays the names of all the active threads in the current threadgroup. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ClassUtilities()
Method Detail |
public static int nextSerialNum()
public static void showActiveThreads()
public static boolean objectIsSubclassOfClass(java.lang.Object pObject, java.lang.Class pClass)
public static boolean objectIsMemberOfClass(java.lang.Object pObject, java.lang.Class pClass)
public static boolean objectIsKindOfClass(java.lang.Object pObject, java.lang.Class pClass)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |