public class LongSet extends Object
Constructor and Description |
---|
LongSet(int sz) |
Modifier and Type | Method and Description |
---|---|
void |
add(long val)
Adds an additional value to the set
|
int |
cardinality()
The number of values in the set
|
boolean |
containsZero() |
long[] |
getBackingArray()
Returns the long[] array that has entries filled in with values or "0" for empty.
|
LongIterator |
iterator()
Returns an iterator over the values in the set.
|
public long[] getBackingArray()
public boolean containsZero()
public void add(long val)
public int cardinality()
public LongIterator iterator()
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.