|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gnu.glib.Flags
public class Flags
Base class for all classes resulting from a define-flags
in a
.defs
file.
Field Summary | |
---|---|
protected int |
value_
holder for the raw flags value |
Constructor Summary | |
---|---|
protected |
Flags()
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 Flags()
Method Detail |
---|
public final int getValue()
public final int hashCode()
hashCode
in class java.lang.Object
public final boolean equals(java.lang.Object other)
true
when the other object is also a Flags
and when the values
match.
equals
in class java.lang.Object
other
- the object to compare to
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |