|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface Id.Distance
A class for representing and manipulating the distance between two Ids on the circle.
| Method Summary | |
|---|---|
Id.Distance |
shiftDistance(int cnt,
int fill)
Shift operator. shift(-1,0) multiplies value of this by two, shift(1,0) divides by 2 |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
Id.Distance shiftDistance(int cnt,
int fill)
cnt - the number of bits to shift, negative shifts left, positive shifts rightfill - value of bit shifted in (0 if fill == 0, 1 otherwise)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||