| Constructor and Description |
|---|
ShiftedBitIntSet() |
ShiftedBitIntSet(ShiftedBitIntSet other) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int value)
Adds a new integer to this set.
|
boolean |
contains(int value)
Checks if the given integer value is in this set.
|
IntSet |
copy()
Creates a copy of this set.
|
IntIterator |
iterator()
An iterator over the values of this set.
|
int |
max()
Returns the maximum integer in this set.
|
int |
min()
Returns the minimum integer in this set.
|
void |
remove(int value)
Remove the given integer value from this set.
|
public ShiftedBitIntSet()
public ShiftedBitIntSet(ShiftedBitIntSet other)
public void add(int value)
IntSetpublic boolean contains(int value)
IntSetpublic IntIterator iterator()
IntSetpublic int max()
IntSetpublic int min()
IntSetCopyright © 2019. All rights reserved.