public class VanillaKeySetView<K,V> extends AbstractCollection<K> implements KeySetView<K>
Constructor and Description |
---|
VanillaKeySetView(RequestContext context,
Asset asset,
MapView<K,V> kvMapView) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(K k) |
Asset |
asset() |
boolean |
contains(Object o) |
boolean |
equals(Object obj) |
int |
hashCode() |
@NotNull Iterator<K> |
iterator() |
boolean |
remove(@Nullable Object o) |
int |
size() |
@Nullable MapView<K,?> |
underlying() |
addAll, clear, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
stream
addAll, clear, containsAll, isEmpty, removeAll, retainAll, spliterator, toArray, toArray
parallelStream, removeIf
public VanillaKeySetView(RequestContext context, Asset asset, MapView<K,V> kvMapView)
public int size()
size
in interface Collection<K>
size
in interface Set<K>
size
in class AbstractCollection<K>
public boolean contains(Object o)
contains
in interface Collection<K>
contains
in interface Set<K>
contains
in class AbstractCollection<K>
public int hashCode()
public boolean equals(Object obj)
public boolean add(K k)
add
in interface Collection<K>
add
in interface Set<K>
add
in class AbstractCollection<K>
public boolean remove(@Nullable @Nullable Object o)
remove
in interface Collection<K>
remove
in interface Set<K>
remove
in class AbstractCollection<K>
public Asset asset()
Copyright © 2021. All rights reserved.