|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
rice.p2p.commonapi.Id |
buildId(byte[] material)
Builds a protocol-specific Id given the source data. |
rice.p2p.commonapi.Id |
buildId(int[] material)
Builds a protocol-specific Id given the source data. |
rice.p2p.commonapi.Id |
buildId(java.lang.String string)
Builds a protocol-specific Id by using the hash of the given string as source data. |
Id.Distance |
buildIdDistance(byte[] material)
Builds a protocol-specific Id.Distance given the source data. |
rice.p2p.commonapi.IdRange |
buildIdRange(rice.p2p.commonapi.Id cw,
rice.p2p.commonapi.Id ccw)
Creates an IdRange given the CW and CCW ids. |
rice.p2p.commonapi.IdSet |
buildIdSet()
Creates an empty IdSet. |
Method Detail |
public rice.p2p.commonapi.Id buildId(byte[] material)
material
- The material to use
public rice.p2p.commonapi.Id buildId(int[] material)
material
- The material to use
public rice.p2p.commonapi.Id buildId(java.lang.String string)
string
- The string to use as source data
public Id.Distance buildIdDistance(byte[] material)
material
- The material to use
public rice.p2p.commonapi.IdRange buildIdRange(rice.p2p.commonapi.Id cw, rice.p2p.commonapi.Id ccw)
cw
- The clockwise Idccw
- The counterclockwise Id
public rice.p2p.commonapi.IdSet buildIdSet()
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |