Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.gnu.glib.Enum
public class Enum
extends java.lang.Object
Field 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 onlytrue
when the other object is also aEnum
and 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