T
- the type of elements maintained by this setpublic final class ImmutableInflatableSet<T> extends InflatableSet<T>
InflatableSet
.Modifier and Type | Class and Description |
---|---|
static class |
ImmutableInflatableSet.ImmutableSetBuilder<T>
Builder for
ImmutableInflatableSet . |
InflatableSet.Builder<T>
Modifier and Type | Method and Description |
---|---|
boolean |
add(T t) |
boolean |
addAll(Collection<? extends T> c) |
void |
clear() |
Iterator<T> |
iterator() |
static <T> ImmutableInflatableSet.ImmutableSetBuilder<T> |
newImmutableSetBuilder(int initialCapacity) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
removeIf(Predicate<? super T> filter) |
boolean |
retainAll(Collection<?> coll) |
clone, contains, isEmpty, newBuilder, newBuilder, size
equals, hashCode
containsAll, toArray, toArray, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode, spliterator, toArray, toArray
parallelStream, stream
public static <T> ImmutableInflatableSet.ImmutableSetBuilder<T> newImmutableSetBuilder(int initialCapacity)
public boolean add(T t)
add
in interface Collection<T>
add
in interface Set<T>
add
in class InflatableSet<T>
public boolean addAll(Collection<? extends T> c)
addAll
in interface Collection<T>
addAll
in interface Set<T>
addAll
in class AbstractCollection<T>
public boolean remove(Object o)
remove
in interface Collection<T>
remove
in interface Set<T>
remove
in class InflatableSet<T>
public boolean removeAll(Collection<?> c)
removeAll
in interface Collection<T>
removeAll
in interface Set<T>
removeAll
in class AbstractSet<T>
public void clear()
clear
in interface Collection<T>
clear
in interface Set<T>
clear
in class InflatableSet<T>
public boolean retainAll(Collection<?> coll)
retainAll
in interface Collection<T>
retainAll
in interface Set<T>
retainAll
in class AbstractCollection<T>
Copyright © 2019 Hazelcast, Inc.. All rights reserved.