public class ReadOnlyLinkedMapValuesView
extends java.util.AbstractCollection
implements java.io.Serializable
LinkedMap
. AbstractHashedMap.values()
to have ability to serialize collection.Constructor and Description |
---|
ReadOnlyLinkedMapValuesView(org.apache.commons.collections4.map.LinkedMap parent) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(java.lang.Object e) |
boolean |
addAll(java.util.Collection coll) |
void |
clear() |
boolean |
contains(java.lang.Object value) |
java.util.Iterator |
iterator() |
boolean |
remove(java.lang.Object o) |
boolean |
removeAll(java.util.Collection coll) |
boolean |
removeIf(java.util.function.Predicate filter) |
boolean |
retainAll(java.util.Collection coll) |
int |
size() |
containsAll, isEmpty, toArray, toArray, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
public ReadOnlyLinkedMapValuesView(org.apache.commons.collections4.map.LinkedMap parent)
public int size()
size
in interface java.util.Collection
size
in class java.util.AbstractCollection
public boolean contains(java.lang.Object value)
contains
in interface java.util.Collection
contains
in class java.util.AbstractCollection
@Nonnull public java.util.Iterator iterator()
iterator
in interface java.lang.Iterable
iterator
in interface java.util.Collection
iterator
in class java.util.AbstractCollection
public boolean add(java.lang.Object e)
add
in interface java.util.Collection
add
in class java.util.AbstractCollection
public boolean remove(java.lang.Object o)
remove
in interface java.util.Collection
remove
in class java.util.AbstractCollection
public boolean addAll(java.util.Collection coll)
addAll
in interface java.util.Collection
addAll
in class java.util.AbstractCollection
public boolean removeAll(java.util.Collection coll)
removeAll
in interface java.util.Collection
removeAll
in class java.util.AbstractCollection
public boolean retainAll(java.util.Collection coll)
retainAll
in interface java.util.Collection
retainAll
in class java.util.AbstractCollection
public void clear()
clear
in interface java.util.Collection
clear
in class java.util.AbstractCollection
public boolean removeIf(java.util.function.Predicate filter)
removeIf
in interface java.util.Collection