|
P-Grid v2.0a2 API Specification | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface KeyRange
Represents a part of the key space, for example, the keys a node is responsible for. It may be used both for range or prefix-based addressing.
| Method Summary | |
|---|---|
Key |
getMax()
Get the upper bound of the key range. |
Key |
getMin()
Get the lower bound of the key range. |
boolean |
withinRange(Key key)
Check whether key is inside the range. |
| Method Detail |
|---|
Key getMin()
Key getMax()
boolean withinRange(Key key)
key - the key to test
|
P-Grid v2.0a2 API Specification | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||