|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectrice.p2p.glacier.FragmentKeyRange
DESCRIBE THE CLASS
| Field Summary | |
protected IdRange |
range
The actual IdRange |
| Constructor Summary | |
protected |
FragmentKeyRange(IdRange range)
Constructor |
| Method Summary | |
boolean |
containsId(Id key)
test if a given key lies within this range |
IdRange |
diffRange(IdRange diff)
diffs the given range with this range |
boolean |
equals(java.lang.Object o)
Determines equality |
void |
FragmentKeyRange(InputBuffer buf,
Endpoint endpoint)
DESCRIBE THE METHOD |
Id |
getCCWId()
get counterclockwise edge of range |
IdRange |
getComplementRange()
get the complement of this range |
Id |
getCWId()
get clockwise edge of range |
int |
hashCode()
Returns the hashCode |
IdRange |
intersectRange(IdRange intersect)
intersects the given range with this range |
boolean |
isEmpty()
returns whether or not this range is empty |
IdRange |
mergeRange(IdRange merge)
merges the given range with this range |
void |
serialize(OutputBuffer buf)
DESCRIBE THE METHOD |
java.lang.String |
toString()
Prints out the string |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected IdRange range
| Constructor Detail |
protected FragmentKeyRange(IdRange range)
range - DESCRIBE THE PARAMETER| Method Detail |
public Id getCCWId()
getCCWId in interface IdRangepublic Id getCWId()
getCWId in interface IdRangepublic IdRange getComplementRange()
getComplementRange in interface IdRangepublic boolean isEmpty()
isEmpty in interface IdRangepublic boolean containsId(Id key)
containsId in interface IdRangekey - the key
public IdRange mergeRange(IdRange merge)
mergeRange in interface IdRangemerge - DESCRIBE THE PARAMETER
public IdRange diffRange(IdRange diff)
diffRange in interface IdRangediff - DESCRIBE THE PARAMETER
public IdRange intersectRange(IdRange intersect)
intersectRange in interface IdRangeintersect - DESCRIBE THE PARAMETER
public boolean equals(java.lang.Object o)
o - DESCRIBE THE PARAMETER
public int hashCode()
public java.lang.String toString()
public void FragmentKeyRange(InputBuffer buf,
Endpoint endpoint)
throws java.io.IOException
buf - DESCRIBE THE PARAMETERendpoint - DESCRIBE THE PARAMETER
java.io.IOException - DESCRIBE THE EXCEPTION
public void serialize(OutputBuffer buf)
throws java.io.IOException
serialize in interface IdRangebuf - 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 | ||||||||||