public class FixedCapacityIntSet extends Object implements gnu.trove.set.TIntSet
Constructor and Description |
---|
FixedCapacityIntSet(FixedCapacityIntSet set) |
FixedCapacityIntSet(int... values) |
FixedCapacityIntSet(int capacity) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(int entry) |
boolean |
addAll(Collection<? extends Integer> collection) |
boolean |
addAll(int[] array) |
boolean |
addAll(gnu.trove.TIntCollection collection) |
void |
clear() |
boolean |
contains(int entry) |
boolean |
containsAll(Collection<?> collection) |
boolean |
containsAll(int[] array) |
boolean |
containsAll(gnu.trove.TIntCollection collection) |
boolean |
equals(Object obj) |
boolean |
forEach(gnu.trove.procedure.TIntProcedure procedure) |
int |
getNoEntryValue() |
int |
hashCode() |
boolean |
isEmpty() |
gnu.trove.iterator.TIntIterator |
iterator() |
boolean |
remove(int entry) |
boolean |
removeAll(Collection<?> collection) |
boolean |
removeAll(int[] array) |
boolean |
removeAll(gnu.trove.TIntCollection collection) |
boolean |
retainAll(Collection<?> collection) |
boolean |
retainAll(int[] array) |
boolean |
retainAll(gnu.trove.TIntCollection collection) |
int |
size() |
int[] |
toArray() |
int[] |
toArray(int[] dest) |
String |
toString() |
public FixedCapacityIntSet(int capacity)
public FixedCapacityIntSet(int... values)
public FixedCapacityIntSet(FixedCapacityIntSet set)
public int getNoEntryValue()
getNoEntryValue
in interface gnu.trove.set.TIntSet
getNoEntryValue
in interface gnu.trove.TIntCollection
public int size()
size
in interface gnu.trove.set.TIntSet
size
in interface gnu.trove.TIntCollection
public boolean isEmpty()
isEmpty
in interface gnu.trove.set.TIntSet
isEmpty
in interface gnu.trove.TIntCollection
public boolean contains(int entry)
contains
in interface gnu.trove.set.TIntSet
contains
in interface gnu.trove.TIntCollection
public gnu.trove.iterator.TIntIterator iterator()
iterator
in interface gnu.trove.set.TIntSet
iterator
in interface gnu.trove.TIntCollection
public int[] toArray()
toArray
in interface gnu.trove.set.TIntSet
toArray
in interface gnu.trove.TIntCollection
public int[] toArray(int[] dest)
toArray
in interface gnu.trove.set.TIntSet
toArray
in interface gnu.trove.TIntCollection
public boolean add(int entry)
add
in interface gnu.trove.set.TIntSet
add
in interface gnu.trove.TIntCollection
public boolean remove(int entry)
remove
in interface gnu.trove.set.TIntSet
remove
in interface gnu.trove.TIntCollection
public boolean containsAll(Collection<?> collection)
containsAll
in interface gnu.trove.set.TIntSet
containsAll
in interface gnu.trove.TIntCollection
public boolean containsAll(gnu.trove.TIntCollection collection)
containsAll
in interface gnu.trove.set.TIntSet
containsAll
in interface gnu.trove.TIntCollection
public boolean containsAll(int[] array)
containsAll
in interface gnu.trove.set.TIntSet
containsAll
in interface gnu.trove.TIntCollection
public boolean addAll(Collection<? extends Integer> collection)
addAll
in interface gnu.trove.set.TIntSet
addAll
in interface gnu.trove.TIntCollection
public boolean addAll(gnu.trove.TIntCollection collection)
addAll
in interface gnu.trove.set.TIntSet
addAll
in interface gnu.trove.TIntCollection
public boolean addAll(int[] array)
addAll
in interface gnu.trove.set.TIntSet
addAll
in interface gnu.trove.TIntCollection
public boolean retainAll(Collection<?> collection)
retainAll
in interface gnu.trove.set.TIntSet
retainAll
in interface gnu.trove.TIntCollection
public boolean retainAll(gnu.trove.TIntCollection collection)
retainAll
in interface gnu.trove.set.TIntSet
retainAll
in interface gnu.trove.TIntCollection
public boolean retainAll(int[] array)
retainAll
in interface gnu.trove.set.TIntSet
retainAll
in interface gnu.trove.TIntCollection
public boolean removeAll(Collection<?> collection)
removeAll
in interface gnu.trove.set.TIntSet
removeAll
in interface gnu.trove.TIntCollection
public boolean removeAll(gnu.trove.TIntCollection collection)
removeAll
in interface gnu.trove.set.TIntSet
removeAll
in interface gnu.trove.TIntCollection
public boolean removeAll(int[] array)
removeAll
in interface gnu.trove.set.TIntSet
removeAll
in interface gnu.trove.TIntCollection
public void clear()
clear
in interface gnu.trove.set.TIntSet
clear
in interface gnu.trove.TIntCollection
public boolean forEach(gnu.trove.procedure.TIntProcedure procedure)
forEach
in interface gnu.trove.set.TIntSet
forEach
in interface gnu.trove.TIntCollection
public int hashCode()
Copyright © 2013. All Rights Reserved.