public interface LongFPSet
Modifier and Type | Method and Description |
---|---|
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
|
boolean add(long l)
count()
method returning
1 greater than before the addition.l
- the fingerprint to addtrue
if set has changed with this additionboolean contains(long l)
l
- the fingerprint to check fortrue
if the fingerprint is in the setboolean remove(long l)
l
- the fingerprint to removetrue
if we removed the fingerprintlong count()
boolean quickContains(long fp)
fp
- the fingerprint to check fortrue
if contains the fingerprintCopyright © 2003-2014 Internet Archive. All Rights Reserved.