Package io.jmix.core.common.collections
Class ReadOnlyLinkedMapValuesView
java.lang.Object
java.util.AbstractCollection
io.jmix.core.common.collections.ReadOnlyLinkedMapValuesView
- All Implemented Interfaces:
Serializable,Iterable,Collection
Serializable, unmodifiable collection view for
Use this collection view instead of
LinkedMap. Use this collection view instead of
AbstractHashedMap.values() to have ability to serialize collection.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class -
Constructor Summary
ConstructorsConstructorDescriptionReadOnlyLinkedMapValuesView(org.apache.commons.collections4.map.LinkedMap parent) -
Method Summary
Methods inherited from class java.util.AbstractCollection
containsAll, isEmpty, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
equals, hashCode, parallelStream, spliterator, stream, toArray
-
Constructor Details
-
ReadOnlyLinkedMapValuesView
public ReadOnlyLinkedMapValuesView(org.apache.commons.collections4.map.LinkedMap parent)
-
-
Method Details
-
size
public int size()- Specified by:
sizein interfaceCollection- Specified by:
sizein classAbstractCollection
-
contains
- Specified by:
containsin interfaceCollection- Overrides:
containsin classAbstractCollection
-
iterator
- Specified by:
iteratorin interfaceCollection- Specified by:
iteratorin interfaceIterable- Specified by:
iteratorin classAbstractCollection
-
add
- Specified by:
addin interfaceCollection- Overrides:
addin classAbstractCollection
-
remove
- Specified by:
removein interfaceCollection- Overrides:
removein classAbstractCollection
-
addAll
- Specified by:
addAllin interfaceCollection- Overrides:
addAllin classAbstractCollection
-
removeAll
- Specified by:
removeAllin interfaceCollection- Overrides:
removeAllin classAbstractCollection
-
retainAll
- Specified by:
retainAllin interfaceCollection- Overrides:
retainAllin classAbstractCollection
-
clear
public void clear()- Specified by:
clearin interfaceCollection- Overrides:
clearin classAbstractCollection
-
removeIf
- Specified by:
removeIfin interfaceCollection
-