Class LinkedMap.LinkedMapList<K>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<K>
-
- org.apache.commons.collections4.map.LinkedMap.LinkedMapList<K>
-
-
Constructor Summary
Constructors Constructor Description LinkedMapList(LinkedMap<K,?> parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
boolean
contains(java.lang.Object obj)
boolean
containsAll(java.util.Collection<?> coll)
K
get(int index)
int
indexOf(java.lang.Object obj)
java.util.Iterator<K>
iterator()
int
lastIndexOf(java.lang.Object obj)
java.util.ListIterator<K>
listIterator()
java.util.ListIterator<K>
listIterator(int fromIndex)
K
remove(int index)
boolean
remove(java.lang.Object obj)
boolean
removeAll(java.util.Collection<?> coll)
boolean
removeIf(java.util.function.Predicate<? super K> filter)
boolean
retainAll(java.util.Collection<?> coll)
int
size()
java.util.List<K>
subList(int fromIndexInclusive, int toIndexExclusive)
java.lang.Object[]
toArray()
<T> T[]
toArray(T[] array)
-
Methods inherited from class java.util.AbstractList
add, add, addAll, equals, hashCode, removeRange, set
-
-
-
-
Method Detail
-
size
public int size()
-
get
public K get(int index)
-
contains
public boolean contains(java.lang.Object obj)
-
indexOf
public int indexOf(java.lang.Object obj)
-
lastIndexOf
public int lastIndexOf(java.lang.Object obj)
-
containsAll
public boolean containsAll(java.util.Collection<?> coll)
-
remove
public K remove(int index)
-
remove
public boolean remove(java.lang.Object obj)
-
removeIf
public boolean removeIf(java.util.function.Predicate<? super K> filter)
- Since:
- 4.4
-
removeAll
public boolean removeAll(java.util.Collection<?> coll)
-
retainAll
public boolean retainAll(java.util.Collection<?> coll)
-
clear
public void clear()
-
toArray
public java.lang.Object[] toArray()
-
toArray
public <T> T[] toArray(T[] array)
-
iterator
public java.util.Iterator<K> iterator()
-
listIterator
public java.util.ListIterator<K> listIterator()
-
listIterator
public java.util.ListIterator<K> listIterator(int fromIndex)
-
-