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 voidadd(int value)Adds a new integer to this set.booleancontains(int value)Checks if the given integer value is in this set.IntSetcopy()Creates a copy of this set.IntIteratoriterator()An iterator over the values of this set.intmax()Returns the maximum integer in this set.intmin()Returns the minimum integer in this set.voidremove(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:IntSetAdds a new integer to this set.
-
contains
public boolean contains(int value)
Description copied from interface:IntSetChecks if the given integer value is in this set.
-
iterator
public IntIterator iterator()
Description copied from interface:IntSetAn 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:IntSetReturns the maximum integer in this set.
-
min
public int min()
Description copied from interface:IntSetReturns the minimum integer in this set.
-
-