| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.gnu.glib.Enumpublic class Enumextends java.lang.ObjectField Summary | |
protected int |
|
Constructor Summary | |
| |
Method Summary | |
boolean |
|
int |
|
int |
|
public final boolean equals(java.lang.Object other)
Compare this to another object. The comparison is onlytruewhen the other object is also aEnumand when the values match.
- Parameters:
other- the object to compare to
- Returns:
- the result of comparison
public final int getValue()
Get the raw value of the object.
- Returns:
- the raw value.
public final int hashCode()
Get the hash code for this instance. It is the same as its value.
- Returns:
- the hash code