Class RecordingValuesCollection<C extends Map<K,V>,K,V>
java.lang.Object
com.blazebit.persistence.view.impl.collection.RecordingValuesCollection<C,K,V>
- All Implemented Interfaces:
Serializable,Iterable<V>,Collection<V>
public class RecordingValuesCollection<C extends Map<K,V>,K,V>
extends Object
implements Collection<V>, Serializable
- Since:
- 1.2.0
- Author:
- Christian Beikov
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Collection<V>protected final RecordingMap<C,K, V> -
Constructor Summary
ConstructorsConstructorDescriptionRecordingValuesCollection(Collection<V> delegate, RecordingMap<C, K, V> recordingMap) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanaddAll(Collection<? extends V> c) voidclear()booleanbooleancontainsAll(Collection<?> c) booleanisEmpty()iterator()booleanbooleanremoveAll(Collection<?> c) booleanretainAll(Collection<?> c) intsize()Read-onlyObject[]toArray()<T> T[]toArray(T[] a) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
equals, hashCode, parallelStream, removeIf, spliterator, stream
-
Field Details
-
delegate
-
recordingMap
-
-
Constructor Details
-
RecordingValuesCollection
-
-
Method Details
-
add
-
addAll
-
remove
-
removeAll
-
retainAll
-
clear
public void clear() -
iterator
-
size
public int size()Read-only -
isEmpty
public boolean isEmpty() -
contains
-
toArray
-
toArray
public <T> T[] toArray(T[] a) -
containsAll
- Specified by:
containsAllin interfaceCollection<C extends Map<K,V>>
-