Class LinkedMap.LinkedMapList
java.lang.Object
java.util.AbstractCollection
java.util.AbstractList
org.apache.commons.collections.map.LinkedMap.LinkedMapList
- All Implemented Interfaces:
Iterable,Collection,List
- Enclosing class:
LinkedMap
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) booleanretainAll(Collection coll) intsize()subList(int fromIndexInclusive, int toIndexExclusive) Object[]toArray()Object[]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, removeIf, streamMethods inherited from interface java.util.List
addAll, isEmpty, replaceAll, sort, spliterator
-
Field Details
-
parent
-
-
Constructor Details
-
LinkedMapList
LinkedMapList(LinkedMap parent)
-
-
Method Details
-
size
public int size()- Specified by:
sizein interfaceCollection- Specified by:
sizein interfaceList- Specified by:
sizein classAbstractCollection
-
get
- Specified by:
getin interfaceList- Specified by:
getin classAbstractList
-
contains
- Specified by:
containsin interfaceCollection- Specified by:
containsin interfaceList- Overrides:
containsin classAbstractCollection
-
indexOf
- Specified by:
indexOfin interfaceList- Overrides:
indexOfin classAbstractList
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList- Overrides:
lastIndexOfin classAbstractList
-
containsAll
- Specified by:
containsAllin interfaceCollection- Specified by:
containsAllin interfaceList- Overrides:
containsAllin classAbstractCollection
-
remove
- Specified by:
removein interfaceList- Overrides:
removein classAbstractList
-
remove
- Specified by:
removein interfaceCollection- Specified by:
removein interfaceList- Overrides:
removein classAbstractCollection
-
removeAll
- Specified by:
removeAllin interfaceCollection- Specified by:
removeAllin interfaceList- Overrides:
removeAllin classAbstractCollection
-
retainAll
- Specified by:
retainAllin interfaceCollection- Specified by:
retainAllin interfaceList- Overrides:
retainAllin classAbstractCollection
-
clear
public void clear()- Specified by:
clearin interfaceCollection- Specified by:
clearin interfaceList- Overrides:
clearin classAbstractList
-
toArray
- Specified by:
toArrayin interfaceCollection- Specified by:
toArrayin interfaceList- Overrides:
toArrayin classAbstractCollection
-
toArray
- Specified by:
toArrayin interfaceCollection- Specified by:
toArrayin interfaceList- Overrides:
toArrayin classAbstractCollection
-
iterator
- Specified by:
iteratorin interfaceCollection- Specified by:
iteratorin interfaceIterable- Specified by:
iteratorin interfaceList- Overrides:
iteratorin classAbstractList
-
listIterator
- Specified by:
listIteratorin interfaceList- Overrides:
listIteratorin classAbstractList
-
listIterator
- Specified by:
listIteratorin interfaceList- Overrides:
listIteratorin classAbstractList
-
subList
- Specified by:
subListin interfaceList- Overrides:
subListin classAbstractList
-