public class EmptyTIntCollection extends Object implements gnu.trove.TIntCollection
| Modifier | Constructor and Description |
|---|---|
protected |
EmptyTIntCollection()
hide constructor, this is a singleton
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(int i) |
boolean |
addAll(Collection<? extends Integer> collection) |
boolean |
addAll(int[] ints) |
boolean |
addAll(gnu.trove.TIntCollection tIntCollection) |
void |
clear() |
boolean |
contains(int i) |
boolean |
containsAll(Collection<?> collection) |
boolean |
containsAll(int[] ints) |
boolean |
containsAll(gnu.trove.TIntCollection tIntCollection) |
boolean |
forEach(gnu.trove.procedure.TIntProcedure tIntProcedure) |
static EmptyTIntCollection |
get()
get an empty tintcollection
|
int |
getNoEntryValue() |
boolean |
isEmpty() |
gnu.trove.iterator.TIntIterator |
iterator() |
boolean |
remove(int i) |
boolean |
removeAll(Collection<?> collection) |
boolean |
removeAll(int[] ints) |
boolean |
removeAll(gnu.trove.TIntCollection tIntCollection) |
boolean |
retainAll(Collection<?> collection) |
boolean |
retainAll(int[] ints) |
boolean |
retainAll(gnu.trove.TIntCollection tIntCollection) |
int |
size() |
int[] |
toArray() |
int[] |
toArray(int[] ints) |
protected EmptyTIntCollection()
public static EmptyTIntCollection get()
public int getNoEntryValue()
getNoEntryValue in interface gnu.trove.TIntCollectionpublic int size()
size in interface gnu.trove.TIntCollectionpublic boolean isEmpty()
isEmpty in interface gnu.trove.TIntCollectionpublic boolean contains(int i)
contains in interface gnu.trove.TIntCollectionpublic gnu.trove.iterator.TIntIterator iterator()
iterator in interface gnu.trove.TIntCollectionpublic int[] toArray()
toArray in interface gnu.trove.TIntCollectionpublic int[] toArray(int[] ints)
toArray in interface gnu.trove.TIntCollectionpublic boolean add(int i)
add in interface gnu.trove.TIntCollectionpublic boolean remove(int i)
remove in interface gnu.trove.TIntCollectionpublic boolean containsAll(Collection<?> collection)
containsAll in interface gnu.trove.TIntCollectionpublic boolean containsAll(gnu.trove.TIntCollection tIntCollection)
containsAll in interface gnu.trove.TIntCollectionpublic boolean containsAll(int[] ints)
containsAll in interface gnu.trove.TIntCollectionpublic boolean addAll(Collection<? extends Integer> collection)
addAll in interface gnu.trove.TIntCollectionpublic boolean addAll(gnu.trove.TIntCollection tIntCollection)
addAll in interface gnu.trove.TIntCollectionpublic boolean addAll(int[] ints)
addAll in interface gnu.trove.TIntCollectionpublic boolean retainAll(Collection<?> collection)
retainAll in interface gnu.trove.TIntCollectionpublic boolean retainAll(gnu.trove.TIntCollection tIntCollection)
retainAll in interface gnu.trove.TIntCollectionpublic boolean retainAll(int[] ints)
retainAll in interface gnu.trove.TIntCollectionpublic boolean removeAll(Collection<?> collection)
removeAll in interface gnu.trove.TIntCollectionpublic boolean removeAll(gnu.trove.TIntCollection tIntCollection)
removeAll in interface gnu.trove.TIntCollectionpublic boolean removeAll(int[] ints)
removeAll in interface gnu.trove.TIntCollectionpublic void clear()
clear in interface gnu.trove.TIntCollectionpublic boolean forEach(gnu.trove.procedure.TIntProcedure tIntProcedure)
forEach in interface gnu.trove.TIntCollectionCopyright © 2019. All rights reserved.