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()Always throwsUnsupportedOperationException.booleanbooleancontainsAll(Collection<?> coll) get(int index) intiterator()intlastIndexOf(Object obj) listIterator(int fromIndex) remove(int index) Always throwsUnsupportedOperationException.booleanAlways throwsUnsupportedOperationException.booleanremoveAll(Collection<?> coll) Always throwsUnsupportedOperationException.booleanAlways throwsUnsupportedOperationException.booleanretainAll(Collection<?> coll) Always throwsUnsupportedOperationException.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
-
clear
public void clear()Always throwsUnsupportedOperationException.- Specified by:
clearin interfaceCollection<K>- Specified by:
clearin interfaceList<K>- Overrides:
clearin classAbstractList<K>- Throws:
UnsupportedOperationException- Always thrown.
-
contains
- Specified by:
containsin interfaceCollection<K>- Specified by:
containsin interfaceList<K>- Overrides:
containsin classAbstractCollection<K>
-
containsAll
- Specified by:
containsAllin interfaceCollection<K>- Specified by:
containsAllin interfaceList<K>- Overrides:
containsAllin classAbstractCollection<K>
-
get
-
indexOf
-
iterator
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<K>- Overrides:
lastIndexOfin classAbstractList<K>
-
listIterator
- Specified by:
listIteratorin interfaceList<K>- Overrides:
listIteratorin classAbstractList<K>
-
listIterator
- Specified by:
listIteratorin interfaceList<K>- Overrides:
listIteratorin classAbstractList<K>
-
remove
Always throwsUnsupportedOperationException.- Specified by:
removein interfaceList<K>- Overrides:
removein classAbstractList<K>- Parameters:
index- Ignored.- Throws:
UnsupportedOperationException- Always thrown.
-
remove
Always throwsUnsupportedOperationException.- Specified by:
removein interfaceCollection<K>- Specified by:
removein interfaceList<K>- Overrides:
removein classAbstractCollection<K>- Parameters:
obj- Ignored.- Throws:
UnsupportedOperationException- Always thrown.
-
removeAll
Always throwsUnsupportedOperationException.- Specified by:
removeAllin interfaceCollection<K>- Specified by:
removeAllin interfaceList<K>- Overrides:
removeAllin classAbstractCollection<K>- Parameters:
coll- Ignored.- Throws:
UnsupportedOperationException- Always thrown.
-
removeIf
Always throwsUnsupportedOperationException.- Parameters:
filter- Ignored.- Throws:
UnsupportedOperationException- Always thrown.- Since:
- 4.4
-
retainAll
Always throwsUnsupportedOperationException.- Specified by:
retainAllin interfaceCollection<K>- Specified by:
retainAllin interfaceList<K>- Overrides:
retainAllin classAbstractCollection<K>- Parameters:
coll- Ignored.- Throws:
UnsupportedOperationException- Always thrown.
-
size
public int size()- Specified by:
sizein interfaceCollection<K>- Specified by:
sizein interfaceList<K>- Specified by:
sizein classAbstractCollection<K>
-
subList
-
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>
-