Method Summary |
|
public void | clear() Turn off all flags. |
public Object | clone() Clone this Flags object. |
public boolean | equals(Object obj) Tests if two Flags objects are in the same state. |
public long | getFlags() Returns the current flags. |
public int | hashCode() The hash code is based on the current state of the flags. |
public boolean | isOff(long flag) Tests whether the given flag is off. |
public boolean | isOn(long flag) Tests whether the given flag is on. |
public String | toString() Returns a 64 length String with the first flag on the right and the
64th flag on the left. |
public void | turnOff(long flag) Turns off the given flag. |
public void | turnOffAll() Turn off all flags. |
public void | turnOn(long flag) Turns on the given flag. |
public void | turnOnAll() Turn on all 64 flags. |