Package openllet.core.utils.intset
Class ShiftedBitIntSet
- java.lang.Object
-
- openllet.core.utils.intset.BitIntSet
-
- openllet.core.utils.intset.ShiftedBitIntSet
-
-
Constructor Summary
Constructors Constructor Description ShiftedBitIntSet()
ShiftedBitIntSet(ShiftedBitIntSet other)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Constructor Detail
-
ShiftedBitIntSet
public ShiftedBitIntSet()
-
ShiftedBitIntSet
public ShiftedBitIntSet(ShiftedBitIntSet other)
-
-
Method Detail
-
add
public void add(int value)
Description copied from interface:IntSet
Adds a new integer to this set.
-
contains
public boolean contains(int value)
Description copied from interface:IntSet
Checks if the given integer value is in this set.
-
iterator
public IntIterator iterator()
Description copied from interface:IntSet
An iterator over the values of this set. There is no guarantee on the _order of the elements.
-
max
public int max()
Description copied from interface:IntSet
Returns the maximum integer in this set.
-
min
public int min()
Description copied from interface:IntSet
Returns the minimum integer in this set.
-
-