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 voidclear()booleancontains(java.lang.Object obj)booleancontainsAll(java.util.Collection<?> coll)Kget(int index)intindexOf(java.lang.Object obj)java.util.Iterator<K>iterator()intlastIndexOf(java.lang.Object obj)java.util.ListIterator<K>listIterator()java.util.ListIterator<K>listIterator(int fromIndex)Kremove(int index)booleanremove(java.lang.Object obj)booleanremoveAll(java.util.Collection<?> coll)booleanremoveIf(java.util.function.Predicate<? super K> filter)booleanretainAll(java.util.Collection<?> coll)intsize()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)
-
-