|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.anidb.udp.mask.Mask
public abstract class Mask
The superclass of all mask classes.
Constructor Summary | |
---|---|
Mask()
Creates a mask. |
Method Summary | |
---|---|
abstract boolean |
equals(java.lang.Object obj)
|
abstract int |
getFlagCount()
Returns the count how many flags are set. |
abstract java.lang.String |
getHexMask()
Returns the mask as a hex value. |
abstract long |
getMask()
Returns the mask as a value. |
abstract int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Mask()
Method Detail |
---|
public abstract long getMask()
public abstract java.lang.String getHexMask()
Returns the mask as a hex value.
The hex value will allways have the constant and full length.
public abstract int getFlagCount()
public abstract int hashCode()
hashCode
in class java.lang.Object
public abstract boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |