|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--arlut.csd.ganymede.IPwrap
This is a wrapper class for the Byte array IP value representation that allows IP addresses to be processed by the Ganymede namespace hash system.
| Field Summary | |
(package private) java.lang.Byte[] |
address
|
| Constructor Summary | |
IPwrap(java.lang.Byte[] address)
|
|
| Method Summary | |
boolean |
equals(java.lang.Object value)
Equality test. |
int |
hashCode()
This method generates the hash key for this object for use in a Hashtable. |
static short |
s2u(byte b)
This method maps a u2s-encoded signed byte value to an int value between 0 and 255 inclusive. |
static byte |
u2s(int x)
This method maps an int value between 0 and 255 inclusive to a legal signed byte value. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
java.lang.Byte[] address
| Constructor Detail |
public IPwrap(java.lang.Byte[] address)
| Method Detail |
public static final byte u2s(int x)
public static final short s2u(byte b)
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object value)
equals in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||