|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.core.utils.IntSet
public class IntSet
Provides set functionality for ints.
| Constructor Summary | |
|---|---|
IntSet()
|
|
| Method Summary | |
|---|---|
boolean |
add(int n)
add |
boolean |
addAll(IntSet s)
addAll |
void |
clear()
clear |
boolean |
contains(int n)
contains |
boolean |
containsAll(IntSet s)
containsAll |
boolean |
isEmpty()
isEmpty |
Iterator<Integer> |
iterator()
iterator |
boolean |
remove(int n)
remove |
boolean |
removeAll(IntSet s)
removeAll |
boolean |
retainAll(IntSet s)
retainAll |
int |
size()
size |
int[] |
toArray()
toArray |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IntSet()
| Method Detail |
|---|
public boolean add(int n)
add
n - a int.
public boolean addAll(IntSet s)
addAll
s - a IntSet object.
public void clear()
clear
public boolean contains(int n)
contains
n - a int.
public boolean containsAll(IntSet s)
containsAll
s - a IntSet object.
public boolean isEmpty()
isEmpty
public Iterator<Integer> iterator()
iterator
Iterator object.public boolean remove(int n)
remove
n - a int.
public boolean removeAll(IntSet s)
removeAll
s - a IntSet object.
public boolean retainAll(IntSet s)
retainAll
s - a IntSet object.
public int size()
size
public int[] toArray()
toArray
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||