|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrice.pastry.Id
rice.pastry.NodeId
Represents a Pastry identifier for a node.
Nested Class Summary |
Nested classes inherited from class rice.pastry.Id |
Id.Distance |
Field Summary | |
static int |
nodeIdBitLength
This is the bit length of the node ids. |
Fields inherited from class rice.pastry.Id |
Half, IdBitLength, NegOne, Null, One |
Constructor Summary | |
NodeId()
Constructor. |
|
NodeId(byte[] material)
Constructor. |
|
NodeId(int[] material)
Constructor. |
Methods inherited from class rice.pastry.Id |
add, addToId, blit, checkBit, clockwise, clockwise, compareTo, copy, distance, distanceFromId, equals, equals, getAlternateId, getCCW, getCW, getDigit, getDomainPrefix, hashCode, indexOfMSDB, indexOfMSDD, isBetween, isBetween, longDistance, longDistanceFromId, makeRandomId, numDigits, setBit, setDigit, toByteArray, toString, toStringFull, xor |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int nodeIdBitLength
Constructor Detail |
public NodeId(byte[] material)
material
- an array of length at least IdBitLength/8 containing raw Id material.public NodeId(int[] material)
material
- an array of length at least IdBitLength/32 containing raw Id material.public NodeId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |