| Constructor and Description |
|---|
ImmutableIntSet(Set<Integer> delegate) |
| 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(Collection<?> coll) |
static ImmutableIntSet |
emptySet() |
void |
forEach(Consumer<? super Integer> act) |
boolean |
isEmpty() |
@NotNull Iterator<Integer> |
iterator() |
Stream<Integer> |
parallelStream() |
boolean |
remove(int element)
Removes the specified element from this set.
|
boolean |
remove(Object o) |
boolean |
removeAll(@NotNull Collection<?> c) |
boolean |
removeIf(Predicate<? super Integer> filter) |
boolean |
retainAll(@NotNull Collection<?> c) |
int |
size() |
Spliterator<Integer> |
spliterator() |
Stream<Integer> |
stream() |
@NotNull Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
int[] |
toIntArray()
Returns array with primitive types
|
String |
toString() |
static ImmutableIntSet |
wrap(Set<Integer> delegate) |
public static ImmutableIntSet wrap(Set<Integer> delegate)
delegate - Delegate.public static ImmutableIntSet emptySet()
public boolean contains(int element)
public boolean containsAll(Collection<?> coll)
containsAll in interface Collection<Integer>containsAll in interface Set<Integer>public int size()
public boolean isEmpty()
public boolean contains(Object o)
@NotNull public @NotNull Object[] toArray()
@NotNull
public <T> T[] toArray(@NotNull
T[] a)
public int[] toIntArray()
toIntArray in interface IntSetpublic boolean add(int element)
public boolean remove(int element)
public boolean add(Integer integer)
public boolean remove(Object o)
public boolean addAll(@NotNull
@NotNull Collection<? extends Integer> c)
public boolean retainAll(@NotNull
@NotNull Collection<?> c)
public boolean removeAll(@NotNull
@NotNull Collection<?> c)
public void clear()
public boolean removeIf(Predicate<? super Integer> filter)
removeIf in interface Collection<Integer>public Spliterator<Integer> spliterator()
spliterator in interface Iterable<Integer>spliterator in interface Collection<Integer>spliterator in interface Set<Integer>public Stream<Integer> stream()
stream in interface Collection<Integer>public Stream<Integer> parallelStream()
parallelStream in interface Collection<Integer>
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.1 Release Date : December 9 2020