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
Modifier and TypeClassDescriptionprotected static class
-
Constructor Summary
ConstructorDescriptionReadOnlyLinkedMapValuesView
(org.apache.commons.collections4.map.LinkedMap parent) -
Method Summary
Methods inherited from class java.util.AbstractCollection
containsAll, isEmpty, toArray, toArray, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
size
in interfaceCollection
- Specified by:
size
in classAbstractCollection
-
contains
- Specified by:
contains
in interfaceCollection
- Overrides:
contains
in classAbstractCollection
-
iterator
- Specified by:
iterator
in interfaceCollection
- Specified by:
iterator
in interfaceIterable
- Specified by:
iterator
in classAbstractCollection
-
add
- Specified by:
add
in interfaceCollection
- Overrides:
add
in classAbstractCollection
-
remove
- Specified by:
remove
in interfaceCollection
- Overrides:
remove
in classAbstractCollection
-
addAll
- Specified by:
addAll
in interfaceCollection
- Overrides:
addAll
in classAbstractCollection
-
removeAll
- Specified by:
removeAll
in interfaceCollection
- Overrides:
removeAll
in classAbstractCollection
-
retainAll
- Specified by:
retainAll
in interfaceCollection
- Overrides:
retainAll
in classAbstractCollection
-
clear
public void clear()- Specified by:
clear
in interfaceCollection
- Overrides:
clear
in classAbstractCollection
-
removeIf
- Specified by:
removeIf
in interfaceCollection
-