public class BitSetIntSet extends GridSerializableCollection<Integer> implements IntSet
| Constructor and Description |
|---|
BitSetIntSet() |
BitSetIntSet(int initCap) |
BitSetIntSet(int initCap,
Collection<Integer> coll) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(int element)
Adds the specified element to this set.
|
boolean |
add(Integer integer) |
boolean |
addAll(@NotNull Collection<? extends Integer> c) |
void |
clear() |
boolean |
contains(int element)
Returns true if this set contains the specified element.
|
boolean |
contains(Object o) |
boolean |
containsAll(@NotNull Collection<?> c) |
@NotNull Iterator<Integer> |
iterator() |
boolean |
remove(int element)
Removes the specified element from this set.
|
boolean |
remove(Object o) |
boolean |
removeAll(@NotNull Collection<?> c) |
boolean |
retainAll(@NotNull Collection<?> c)
Unsupported operation.
|
int |
size() |
int[] |
toIntArray()
Returns array with primitive types
|
isEmpty, toArray, toArray, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitequals, hashCode, isEmpty, spliterator, toArray, toArrayparallelStream, removeIf, streampublic BitSetIntSet()
public BitSetIntSet(int initCap)
initCap - initial capacity.public BitSetIntSet(int initCap,
Collection<Integer> coll)
initCap - initial capacity.coll - initial collection.public int size()
size in interface Collection<Integer>size in interface Set<Integer>size in class AbstractCollection<Integer>public boolean contains(Object o)
contains in interface Collection<Integer>contains in interface Set<Integer>contains in class AbstractCollection<Integer>public boolean contains(int element)
public boolean add(Integer integer)
add in interface Collection<Integer>add in interface Set<Integer>add in class AbstractCollection<Integer>public boolean add(int element)
public boolean remove(Object o)
remove in interface Collection<Integer>remove in interface Set<Integer>remove in class AbstractCollection<Integer>public boolean remove(int element)
public int[] toIntArray()
toIntArray in interface IntSetpublic boolean containsAll(@NotNull
@NotNull Collection<?> c)
containsAll in interface Collection<Integer>containsAll in interface Set<Integer>containsAll in class AbstractCollection<Integer>public boolean addAll(@NotNull
@NotNull Collection<? extends Integer> c)
addAll in interface Collection<Integer>addAll in interface Set<Integer>addAll in class AbstractCollection<Integer>public boolean retainAll(@NotNull
@NotNull Collection<?> c)
retainAll in interface Collection<Integer>retainAll in interface Set<Integer>retainAll in class AbstractCollection<Integer>public boolean removeAll(@NotNull
@NotNull Collection<?> c)
removeAll in interface Collection<Integer>removeAll in interface Set<Integer>removeAll in class AbstractCollection<Integer>public void clear()
clear in interface Collection<Integer>clear in interface Set<Integer>clear in class AbstractCollection<Integer>
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.1 Release Date : December 20 2021