|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnenok.Utilities
public class Utilities
Utility class that provides a collection of static methods which extend the java reflection framework.
Constructor Summary | |
---|---|
Utilities()
|
Method Summary | |
---|---|
static List<Method> |
getGraphicalRepresentators(Valuation val)
This static method returns a list of all graphical representation functions defined in the argument's class. |
static List<Method> |
getStringRepresentators(Valuation val)
This static method returns a list of all string representation functions defined in the argument's class. |
static boolean |
isInterfaceOf(Class _interface,
Class _class)
Helper method to determine if a given class implements a given interface. |
static boolean |
isSuperclassOf(Class _super,
Class _class)
Helper method to determine if a given class is superclass of another. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Utilities()
Method Detail |
---|
public static boolean isInterfaceOf(Class _interface, Class _class)
_interface
- Is this interface implemented by the given class._class
- Does this class implement the given interface.
true
, if the given class implements the given interface.public static boolean isSuperclassOf(Class _super, Class _class)
_super
- Is this class ascendent of the second argument._class
- Is this class descendent of the former argument.
true
, if the first argument is a superclass of the second.public static List<Method> getStringRepresentators(Valuation val)
val
- The valuation class instance to be searched.
public static List<Method> getGraphicalRepresentators(Valuation val)
val
- The valuation class instance to be searched.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |