K - type of SimpleDataStructure objects in the bucketpublic interface KBucketTrimmer<K extends SimpleDataStructure>| Modifier and Type | Method and Description |
|---|---|
boolean | trim(KBucket<K> kbucket,
K toAdd)Called from add() just before adding the entry. |
boolean trim(KBucket<K> kbucket, K toAdd)
kbucket - the kbucket that is now too big