V
- The generic type of the set.public final class MapDelegatingSet<V> extends AbstractSet<V>
Constructor and Description |
---|
MapDelegatingSet(Map<?,?> delegate,
Supplier<Iterator<V>> iterator,
Predicate contains) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
contains(Object o) |
boolean |
isEmpty() |
Iterator<V> |
iterator() |
int |
size() |
equals, hashCode, removeAll
add, addAll, containsAll, remove, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
add, addAll, containsAll, remove, retainAll, spliterator, toArray, toArray
parallelStream, removeIf, stream
public int size()
size
in interface Collection<V>
size
in interface Set<V>
size
in class AbstractCollection<V>
public boolean isEmpty()
isEmpty
in interface Collection<V>
isEmpty
in interface Set<V>
isEmpty
in class AbstractCollection<V>
public boolean contains(Object o)
contains
in interface Collection<V>
contains
in interface Set<V>
contains
in class AbstractCollection<V>
public void clear()
clear
in interface Collection<V>
clear
in interface Set<V>
clear
in class AbstractCollection<V>
Copyright © 2022 Hazelcast, Inc.. All Rights Reserved.