|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Dictionary<K,V>
java.util.Hashtable<rice.p2p.commonapi.Id,java.io.Serializable>
bunshin.util.Bucket
public class Bucket
The bucket, a chunk of hashtable, to belongs to specific key's rank
| Constructor Summary | |
|---|---|
Bucket()
|
|
| Method Summary | |
|---|---|
void |
add(Bucket newBucket)
|
java.io.Serializable |
extract(rice.p2p.commonapi.Id key)
|
void |
overwrite(rice.p2p.commonapi.Id key,
java.io.Serializable value)
|
java.io.Serializable |
remove(rice.p2p.commonapi.Id key)
|
java.lang.String |
toString()
|
| Methods inherited from class java.util.Hashtable |
|---|
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, values |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Bucket()
| Method Detail |
|---|
public void add(Bucket newBucket)
public void overwrite(rice.p2p.commonapi.Id key,
java.io.Serializable value)
public java.io.Serializable remove(rice.p2p.commonapi.Id key)
public java.io.Serializable extract(rice.p2p.commonapi.Id key)
public java.lang.String toString()
toString in class java.util.Hashtable<rice.p2p.commonapi.Id,java.io.Serializable>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||