|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LongFPSet
Set for holding primitive long fingerprints.
Method Summary | |
---|---|
boolean |
add(long l)
Add a fingerprint to the set. |
boolean |
contains(long l)
Does this set contain a given fingerprint. |
long |
count()
get the number of elements in the Set |
boolean |
quickContains(long fp)
Do a contains() check that doesn't require laggy activity (eg disk IO). |
boolean |
remove(long l)
Remove a fingerprint from the set, if it is there |
Method Detail |
---|
boolean add(long l)
count()
method returning
1 greater than before the addition.
l
- the fingerprint to add
true
if set has changed with this additionboolean contains(long l)
l
- the fingerprint to check for
true
if the fingerprint is in the setboolean remove(long l)
l
- the fingerprint to remove
true
if we removed the fingerprintlong count()
boolean quickContains(long fp)
fp
- the fingerprint to check for
true
if contains the fingerprint
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |