|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--gov.aps.jca.Enum
|
+--gov.aps.jca.ValuedEnum
| Method Summary | |
int |
getValue()
Get value of enum item. |
boolean |
isEqualTo(ValuedEnum other)
Test if enum item is equal in value to other enum. |
boolean |
isGreaterThan(ValuedEnum other)
Test if enum item is greater than in value to other enum. |
boolean |
isGreaterThanOrEqual(ValuedEnum other)
Test if enum item is greater than or equal in value to other enum. |
boolean |
isLessThan(ValuedEnum other)
Test if enum item is less than in value to other enum. |
boolean |
isLessThanOrEqual(ValuedEnum other)
Test if enum item is less than or equal in value to other enum. |
java.lang.String |
toString()
Override toString method to produce human readable description. |
| Methods inherited from class gov.aps.jca.Enum |
equals, getName, hashCode |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
public final int getValue()
public final boolean isEqualTo(ValuedEnum other)
other - the other enum
public final boolean isGreaterThan(ValuedEnum other)
other - the other enum
public final boolean isGreaterThanOrEqual(ValuedEnum other)
other - the other enum
public final boolean isLessThan(ValuedEnum other)
other - the other enum
public final boolean isLessThanOrEqual(ValuedEnum other)
other - the other enum
public java.lang.String toString()
toString in class Enumtype[name=value], eg.:
JavaVersion[Java 1.0=100].
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||