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.TIntCollection
public int size()
size
in interface gnu.trove.TIntCollection
public boolean isEmpty()
isEmpty
in interface gnu.trove.TIntCollection
public boolean contains(int i)
contains
in interface gnu.trove.TIntCollection
public gnu.trove.iterator.TIntIterator iterator()
iterator
in interface gnu.trove.TIntCollection
public int[] toArray()
toArray
in interface gnu.trove.TIntCollection
public int[] toArray(int[] ints)
toArray
in interface gnu.trove.TIntCollection
public boolean add(int i)
add
in interface gnu.trove.TIntCollection
public boolean remove(int i)
remove
in interface gnu.trove.TIntCollection
public boolean containsAll(Collection<?> collection)
containsAll
in interface gnu.trove.TIntCollection
public boolean containsAll(gnu.trove.TIntCollection tIntCollection)
containsAll
in interface gnu.trove.TIntCollection
public boolean containsAll(int[] ints)
containsAll
in interface gnu.trove.TIntCollection
public boolean addAll(Collection<? extends Integer> collection)
addAll
in interface gnu.trove.TIntCollection
public boolean addAll(gnu.trove.TIntCollection tIntCollection)
addAll
in interface gnu.trove.TIntCollection
public boolean addAll(int[] ints)
addAll
in interface gnu.trove.TIntCollection
public boolean retainAll(Collection<?> collection)
retainAll
in interface gnu.trove.TIntCollection
public boolean retainAll(gnu.trove.TIntCollection tIntCollection)
retainAll
in interface gnu.trove.TIntCollection
public boolean retainAll(int[] ints)
retainAll
in interface gnu.trove.TIntCollection
public boolean removeAll(Collection<?> collection)
removeAll
in interface gnu.trove.TIntCollection
public boolean removeAll(gnu.trove.TIntCollection tIntCollection)
removeAll
in interface gnu.trove.TIntCollection
public boolean removeAll(int[] ints)
removeAll
in interface gnu.trove.TIntCollection
public void clear()
clear
in interface gnu.trove.TIntCollection
public boolean forEach(gnu.trove.procedure.TIntProcedure tIntProcedure)
forEach
in interface gnu.trove.TIntCollection
Copyright © 2019. All rights reserved.