|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
void |
addId(Id id)
add a member |
Id[] |
asArray()
return this set as an array |
IdSet |
build()
Returns a new, empty IdSet of this type |
java.lang.Object |
clone()
Override clone() to make it publicly accessible |
java.util.Iterator |
getIterator()
return an iterator over the elements of this set |
byte[] |
hash()
return a hash of this set |
boolean |
isMemberId(Id id)
test membership |
int |
numElements()
return the number of elements |
void |
removeId(Id id)
remove a member |
IdSet |
subSet(IdRange range)
return a subset of this set, consisting of the member ids in a given range |
Method Detail |
public int numElements()
public void addId(Id id)
id
- the id to addpublic void removeId(Id id)
id
- the id to removepublic boolean isMemberId(Id id)
id
- the id to test
public IdSet subSet(IdRange range)
range
- DESCRIBE THE PARAMETER
public java.util.Iterator getIterator()
public Id[] asArray()
public byte[] hash()
public java.lang.Object clone()
public IdSet build()
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |