public abstract class AbstractIntSet extends AbstractSet<Integer> implements IntSet
IntSet| Constructor and Description |
|---|
AbstractIntSet() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(int i) |
boolean |
addAll(IntCollection ints) |
boolean |
containsAll(IntCollection ints) |
abstract IntIterator |
iterator() |
boolean |
remove(int i) |
boolean |
removeAll(IntCollection ints) |
boolean |
retainAll(IntCollection ints)
Retains only the elements in this set that are contained in the specified
IntSet. |
int[] |
toPrimitiveArray() |
equals, hashCode, removeAlladd, addAll, clear, contains, containsAll, isEmpty, remove, retainAll, size, toArray, toArray, toStringpublic boolean add(int i)
add in interface IntCollectionadd in interface IntSetpublic boolean addAll(IntCollection ints)
addAll in interface IntCollectionaddAll in interface IntSetpublic boolean containsAll(IntCollection ints)
containsAll in interface IntCollectioncontainsAll in interface IntSetpublic abstract IntIterator iterator()
iterator in interface IntCollectioniterator in interface IntSetiterator in interface Iterable<Integer>iterator in interface Collection<Integer>iterator in interface Set<Integer>iterator in class AbstractCollection<Integer>public boolean remove(int i)
remove in interface IntCollectionremove in interface IntSetpublic boolean removeAll(IntCollection ints)
removeAll in interface IntCollectionremoveAll in interface IntSetpublic boolean retainAll(IntCollection ints)
IntSet.retainAll in interface IntCollectionretainAll in interface IntSetpublic int[] toPrimitiveArray()
toPrimitiveArray in interface IntCollectiontoPrimitiveArray in interface IntSetCopyright © 2012. All Rights Reserved.