Class LinkedMap.LinkedMapList<K>
java.lang.Object
java.util.AbstractCollection<K>
java.util.AbstractList<K>
org.apache.commons.collections4.map.LinkedMap.LinkedMapList<K>
- All Implemented Interfaces:
Iterable<K>,Collection<K>,List<K>
List view of map.
-
Field Summary
FieldsFields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleanbooleancontainsAll(Collection<?> coll) get(int index) intiterator()intlastIndexOf(Object obj) listIterator(int fromIndex) remove(int index) booleanbooleanremoveAll(Collection<?> coll) booleanbooleanretainAll(Collection<?> coll) intsize()subList(int fromIndexInclusive, int toIndexExclusive) Object[]toArray()<T> T[]toArray(T[] array) Methods inherited from class java.util.AbstractList
add, add, addAll, equals, hashCode, removeRange, setMethods inherited from class java.util.AbstractCollection
addAll, isEmpty, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, streamMethods inherited from interface java.util.List
addAll, isEmpty, replaceAll, sort, spliterator
-
Field Details
-
parent
-
-
Constructor Details
-
LinkedMapList
-
-
Method Details
-
size
public int size()- Specified by:
sizein interfaceCollection<K>- Specified by:
sizein interfaceList<K>- Specified by:
sizein classAbstractCollection<K>
-
get
-
contains
- Specified by:
containsin interfaceCollection<K>- Specified by:
containsin interfaceList<K>- Overrides:
containsin classAbstractCollection<K>
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<K>- Overrides:
lastIndexOfin classAbstractList<K>
-
containsAll
- Specified by:
containsAllin interfaceCollection<K>- Specified by:
containsAllin interfaceList<K>- Overrides:
containsAllin classAbstractCollection<K>
-
remove
-
remove
- Specified by:
removein interfaceCollection<K>- Specified by:
removein interfaceList<K>- Overrides:
removein classAbstractCollection<K>
-
removeIf
- Since:
- 4.4
-
removeAll
- Specified by:
removeAllin interfaceCollection<K>- Specified by:
removeAllin interfaceList<K>- Overrides:
removeAllin classAbstractCollection<K>
-
retainAll
- Specified by:
retainAllin interfaceCollection<K>- Specified by:
retainAllin interfaceList<K>- Overrides:
retainAllin classAbstractCollection<K>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<K>- Specified by:
clearin interfaceList<K>- Overrides:
clearin classAbstractList<K>
-
toArray
- Specified by:
toArrayin interfaceCollection<K>- Specified by:
toArrayin interfaceList<K>- Overrides:
toArrayin classAbstractCollection<K>
-
toArray
public <T> T[] toArray(T[] array) - Specified by:
toArrayin interfaceCollection<K>- Specified by:
toArrayin interfaceList<K>- Overrides:
toArrayin classAbstractCollection<K>
-
iterator
-
listIterator
- Specified by:
listIteratorin interfaceList<K>- Overrides:
listIteratorin classAbstractList<K>
-
listIterator
- Specified by:
listIteratorin interfaceList<K>- Overrides:
listIteratorin classAbstractList<K>
-
subList
-