|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.gnu.glib.Enum
public class Enum
| Field Summary | |
|---|---|
protected int |
value_
holder for the raw enumeration value |
| Constructor Summary | |
|---|---|
protected |
Enum()
This class is only instantiable via subclasses. |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object other)
Compare this to another object. |
int |
getValue()
Get the raw value of the object. |
int |
hashCode()
Get the hash code for this instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int value_
| Constructor Detail |
|---|
protected Enum()
| Method Detail |
|---|
public final int getValue()
public final int hashCode()
hashCode in class java.lang.Objectpublic final boolean equals(java.lang.Object other)
true
when the other object is also a Enum and when the values
match.
equals in class java.lang.Objectother - the object to compare to
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||