Package ghidra.generic.util.datastruct
Class RestrictedValueSortedMap.RestrictedValueSortedMapKeyList
- java.lang.Object
-
- ghidra.generic.util.datastruct.RestrictedValueSortedMap.RestrictedValueSortedMapKeyList
-
- All Implemented Interfaces:
ValueSortedMap.ValueSortedMapKeyList<K>,java.lang.Iterable<K>,java.util.Collection<K>,java.util.Deque<K>,java.util.List<K>,java.util.Queue<K>,java.util.Set<K>
- Enclosing class:
- RestrictedValueSortedMap<K,V>
public class RestrictedValueSortedMap.RestrictedValueSortedMapKeyList extends java.lang.Object implements ValueSortedMap.ValueSortedMapKeyList<K>
A list view suitable forValueSortedMap.keySet()ofRestrictedValueSortedMap
-
-
Constructor Summary
Constructors Constructor Description RestrictedValueSortedMapKeyList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(int index, K element)booleanadd(K e)booleanaddAll(int index, java.util.Collection<? extends K> c)booleanaddAll(java.util.Collection<? extends K> c)voidaddFirst(K e)voidaddLast(K e)voidclear()booleancontains(java.lang.Object o)booleancontainsAll(java.util.Collection<?> c)java.util.Iterator<K>descendingIterator()Kelement()Kget(int index)KgetFirst()KgetLast()intindexOf(java.lang.Object o)booleanisEmpty()java.util.Iterator<K>iterator()intlastIndexOf(java.lang.Object o)java.util.ListIterator<K>listIterator()java.util.ListIterator<K>listIterator(int index)booleanoffer(K e)booleanofferFirst(K e)booleanofferLast(K e)Kpeek()KpeekFirst()KpeekLast()Kpoll()KpollFirst()KpollLast()Kpop()voidpush(K e)Kremove()Kremove(int index)booleanremove(java.lang.Object o)booleanremoveAll(java.util.Collection<?> c)KremoveFirst()booleanremoveFirstOccurrence(java.lang.Object o)KremoveLast()booleanremoveLastOccurrence(java.lang.Object o)booleanretainAll(java.util.Collection<?> c)Kset(int index, K element)intsize()java.util.List<K>subList(int fromIndex, int toIndex)java.lang.Object[]toArray()<T> T[]toArray(T[] a)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ghidra.generic.util.datastruct.ValueSortedMap.ValueSortedMapKeyList
spliterator
-
-
-
-
Method Detail
-
size
public int size()
-
isEmpty
public boolean isEmpty()
-
contains
public boolean contains(java.lang.Object o)
-
iterator
public java.util.Iterator<K> iterator()
-
toArray
public java.lang.Object[] toArray()
-
toArray
public <T> T[] toArray(T[] a)
-
add
public boolean add(K e)
-
remove
public boolean remove(java.lang.Object o)
-
containsAll
public boolean containsAll(java.util.Collection<?> c)
-
addAll
public boolean addAll(java.util.Collection<? extends K> c)
-
retainAll
public boolean retainAll(java.util.Collection<?> c)
-
removeAll
public boolean removeAll(java.util.Collection<?> c)
-
clear
public void clear()
-
addAll
public boolean addAll(int index, java.util.Collection<? extends K> c)- Specified by:
addAllin interfacejava.util.List<K>
-
indexOf
public int indexOf(java.lang.Object o)
- Specified by:
indexOfin interfacejava.util.List<K>
-
lastIndexOf
public int lastIndexOf(java.lang.Object o)
- Specified by:
lastIndexOfin interfacejava.util.List<K>
-
listIterator
public java.util.ListIterator<K> listIterator()
- Specified by:
listIteratorin interfacejava.util.List<K>
-
listIterator
public java.util.ListIterator<K> listIterator(int index)
- Specified by:
listIteratorin interfacejava.util.List<K>
-
subList
public java.util.List<K> subList(int fromIndex, int toIndex)
- Specified by:
subListin interfacejava.util.List<K>
-
removeFirstOccurrence
public boolean removeFirstOccurrence(java.lang.Object o)
- Specified by:
removeFirstOccurrencein interfacejava.util.Deque<K>
-
removeLastOccurrence
public boolean removeLastOccurrence(java.lang.Object o)
- Specified by:
removeLastOccurrencein interfacejava.util.Deque<K>
-
offer
public boolean offer(K e)
-
remove
public K remove()
-
poll
public K poll()
-
element
public K element()
-
peek
public K peek()
-
-