|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectrice.persistence.testing.MemoryStorageTest.VariableId
DESCRIBE THE CLASS
| Nested Class Summary |
| Nested classes inherited from class rice.p2p.commonapi.Id |
Id.Distance |
| Field Summary | |
protected int |
num
DESCRIBE THE FIELD |
static java.lang.String |
STRING
DESCRIBE THE FIELD |
static short |
TYPE
DESCRIBE THE FIELD |
| Constructor Summary | |
MemoryStorageTest.VariableId(int num)
Constructor for VariableId. |
|
| Method Summary | |
Id |
addToId(Id.Distance offset)
Adds a feature to the ToId attribute of the VariableId object |
boolean |
clockwise(Id nid)
DESCRIBE THE METHOD |
int |
compareTo(java.lang.Object o)
DESCRIBE THE METHOD |
Id.Distance |
distanceFromId(Id nid)
DESCRIBE THE METHOD |
int |
getByteArrayLength()
Gets the ByteArrayLength attribute of the VariableId object |
short |
getType()
Gets the Type attribute of the VariableId object |
boolean |
isBetween(Id ccw,
Id cw)
Gets the Between attribute of the VariableId object |
Id.Distance |
longDistanceFromId(Id nid)
DESCRIBE THE METHOD |
void |
serialize(OutputBuffer buf)
DESCRIBE THE METHOD |
byte[] |
toByteArray()
DESCRIBE THE METHOD |
void |
toByteArray(byte[] array,
int offset)
DESCRIBE THE METHOD |
java.lang.String |
toStringFull()
DESCRIBE THE METHOD |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected int num
public static final short TYPE
public static final java.lang.String STRING
| Constructor Detail |
public MemoryStorageTest.VariableId(int num)
num - DESCRIBE THE PARAMETER| Method Detail |
public boolean isBetween(Id ccw,
Id cw)
isBetween in interface Idccw - DESCRIBE THE PARAMETERcw - DESCRIBE THE PARAMETER
public int getByteArrayLength()
getByteArrayLength in interface Idpublic short getType()
getType in interface Idpublic boolean clockwise(Id nid)
clockwise in interface Idnid - DESCRIBE THE PARAMETER
public Id addToId(Id.Distance offset)
addToId in interface Idoffset - The feature to be added to the ToId attribute
public Id.Distance distanceFromId(Id nid)
distanceFromId in interface Idnid - DESCRIBE THE PARAMETER
public Id.Distance longDistanceFromId(Id nid)
longDistanceFromId in interface Idnid - DESCRIBE THE PARAMETER
public byte[] toByteArray()
toByteArray in interface Id
public void toByteArray(byte[] array,
int offset)
toByteArray in interface Idarray - DESCRIBE THE PARAMETERoffset - DESCRIBE THE PARAMETERpublic java.lang.String toStringFull()
toStringFull in interface Idpublic int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparableo - DESCRIBE THE PARAMETER
public void serialize(OutputBuffer buf)
throws java.io.IOException
serialize in interface Idbuf - DESCRIBE THE PARAMETER
java.io.IOException - DESCRIBE THE EXCEPTION
|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||