Package openllet.core.utils.intset
Class AbstractIntSet
- java.lang.Object
-
- openllet.core.utils.intset.AbstractIntSet
-
-
Constructor Summary
Constructors Constructor Description AbstractIntSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAll(IntSet values)Adds all the integers from another set to this set.intmax()Returns the maximum integer in this set.intmin()Returns the minimum integer in this set.java.lang.StringtoString()IntSetunion(IntSet values)Creates a new IntSet that is the union of this set and the given set.
-
-
-
Method Detail
-
addAll
public void addAll(IntSet values)
Description copied from interface:IntSetAdds all the integers from another set to this set.
-
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.
-
union
public IntSet union(IntSet values)
Description copied from interface:IntSetCreates a new IntSet that is the union of this set and the given set. Neither of the sets are changed by this operation.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-