|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mindswap.pellet.utils.intset.AbstractIntSet
public abstract class AbstractIntSet
Title:
Description:
Copyright: Copyright (c) 2007
Company: Clark & Parsia, LLC.
Constructor Summary | |
---|---|
AbstractIntSet()
|
Method Summary | |
---|---|
void |
addAll(IntSet values)
Adds all the integers from another set to this set. |
int |
max()
Returns the maximum integer in this set. |
int |
min()
Returns the minimum integer in this set. |
java.lang.String |
toString()
|
IntSet |
union(IntSet values)
Creates a new IntSet that is the union of this set and the given set. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.mindswap.pellet.utils.intset.IntSet |
---|
add, contains, copy, isEmpty, iterator, remove, size |
Constructor Detail |
---|
public AbstractIntSet()
Method Detail |
---|
public void addAll(IntSet values)
IntSet
addAll
in interface IntSet
values
- the set whose elements will be addedpublic int max()
IntSet
max
in interface IntSet
public int min()
IntSet
min
in interface IntSet
public IntSet union(IntSet values)
IntSet
union
in interface IntSet
values
- the other set that will be included in the union result
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |