|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Utils.Diff>
ovm.polyd.Utils.Diff
public static enum Utils.Diff
Used to describe the result of a comparison between two classes or arrays of classes.
Utils
Enum Constant Summary | |
---|---|
Crossed
When comparing two arrays of classes, for some of the positions the first class is a strict subclass of the second while for other positions the first class is a strict superclass of the second. |
|
Equal
The first argument is identical to the second. |
|
NotCompatible
The two classes are not related, meaning that none of the two is equal or a subclass of the other. |
|
Sub
The first argument is a strict subclass of the second. |
|
Super
The first argument is a strict superclass of the second. |
Method Summary | |
---|---|
static Utils.Diff |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Utils.Diff[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Utils.Diff Sub
public static final Utils.Diff Equal
public static final Utils.Diff Super
public static final Utils.Diff Crossed
public static final Utils.Diff NotCompatible
Method Detail |
---|
public static final Utils.Diff[] values()
for(Utils.Diff c : Utils.Diff.values()) System.out.println(c);
public static Utils.Diff valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |