Class GenericMapCollection<K,V,M extends Map<K,V>,I>
java.lang.Object
org.apache.ofbiz.base.util.collections.GenericMapCollection<K,V,M,I>
- All Implemented Interfaces:
Iterable<I>
,Collection<I>
- Direct Known Subclasses:
GenericMapSet
,GenericMapValues
public abstract class GenericMapCollection<K,V,M extends Map<K,V>,I>
extends Object
implements Collection<I>
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
addAll
(Collection<? extends I> collection) void
clear()
boolean
containsAll
(Collection<?> collection) Gets source.boolean
isEmpty()
iterator()
iterator
(boolean noteAccess) boolean
removeAll
(Collection<?> collection) boolean
retainAll
(Collection<?> collection) int
size()
Object[]
toArray()
<T> T[]
toArray
(T[] array) 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
contains, equals, hashCode, parallelStream, remove, removeIf, spliterator, stream, toArray
-
Method Details
-
getSource
Gets source.- Returns:
- the source
-
add
- Specified by:
add
in interfaceCollection<K>
-
addAll
- Specified by:
addAll
in interfaceCollection<K>
-
clear
public void clear()- Specified by:
clear
in interfaceCollection<K>
-
containsAll
- Specified by:
containsAll
in interfaceCollection<K>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceCollection<K>
-
iterator
-
iterator
-
removeAll
- Specified by:
removeAll
in interfaceCollection<K>
-
retainAll
- Specified by:
retainAll
in interfaceCollection<K>
-
size
public int size()- Specified by:
size
in interfaceCollection<K>
-
toArray
- Specified by:
toArray
in interfaceCollection<K>
-
toArray
public <T> T[] toArray(T[] array) - Specified by:
toArray
in interfaceCollection<K>
-
toString
-