|
ePOST API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrice.p2p.past.gc.GCIdRange
public class 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 boolean containsId(Id key)
containsId in interface IdRange
key - the key
public Id getCCWId()
getCCWId in interface IdRange
public Id getCWId()
getCWId in interface IdRange
public IdRange getComplementRange()
getComplementRange in interface IdRange
public IdRange mergeRange(IdRange range)
mergeRange in interface IdRange
public IdRange diffRange(IdRange range)
diffRange in interface IdRange
public IdRange intersectRange(IdRange range)
intersectRange in interface IdRange
public boolean isEmpty()
isEmpty in interface IdRange
public java.lang.String toString()
toString in class java.lang.Object
|
ePOST API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||