|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectrice.p2p.past.gc.GCIdRange
| Field Summary | |
protected IdRange |
range
The internal (normal) IdRange |
| Constructor Summary | |
GCIdRange(IdRange range)
Constructor, which takes a normal IdRange |
|
| Method Summary | |
boolean |
containsId(Id key)
test if a given key lies within this range |
IdRange |
diffRange(IdRange range)
diffs the given range with this range |
Id |
getCCWId()
get counterclockwise edge of range |
IdRange |
getComplementRange()
get the complement of this range |
Id |
getCWId()
get clockwise edge of range |
IdRange |
getRange()
Returns the internal range |
IdRange |
intersectRange(IdRange range)
intersects the given range with this range |
boolean |
isEmpty()
returns whether or not this range is empty |
IdRange |
mergeRange(IdRange range)
merges the given range with this range |
java.lang.String |
toString()
Returns a string |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected IdRange range
| Constructor Detail |
public GCIdRange(IdRange range)
range - The normal range| Method Detail |
public IdRange getRange()
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 range)
mergeRange in interface IdRangerange - DESCRIBE THE PARAMETER
public IdRange diffRange(IdRange range)
diffRange in interface IdRangerange - DESCRIBE THE PARAMETER
public IdRange intersectRange(IdRange range)
intersectRange in interface IdRangerange - DESCRIBE THE PARAMETER
public java.lang.String toString()
|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||