org.gnu.glib
public class Enum extends Object
| 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(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. |
true
when the other object is also a Enum and when the values
match.
Parameters: other the object to compare to
Returns: the result of comparison
Returns: the raw value.
Returns: the hash code