Package ghidra.generic.util.datastruct
Class RestrictedValueSortedMap.RestrictedValueSortedMapKeyList
java.lang.Object
ghidra.generic.util.datastruct.RestrictedValueSortedMap.RestrictedValueSortedMapKeyList
- All Implemented Interfaces:
ValueSortedMap.ValueSortedMapKeyList<K>,Iterable<K>,Collection<K>,Deque<K>,List<K>,Queue<K>,Set<K>
- Enclosing class:
- RestrictedValueSortedMap<K,
V>
public class RestrictedValueSortedMap.RestrictedValueSortedMapKeyList
extends Object
implements ValueSortedMap.ValueSortedMapKeyList<K>
A list view suitable for
ValueSortedMap.keySet() of RestrictedValueSortedMap-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleanaddAll(int index, Collection<? extends K> c) booleanaddAll(Collection<? extends K> c) voidvoidvoidclear()booleanbooleancontainsAll(Collection<?> c) element()get(int index) getFirst()getLast()intbooleanisEmpty()iterator()intlistIterator(int index) booleanbooleanofferFirst(K e) booleanpeek()peekLast()poll()pollLast()pop()voidremove()remove(int index) booleanbooleanremoveAll(Collection<?> c) booleanbooleanbooleanretainAll(Collection<?> c) intsize()subList(int fromIndex, int toIndex) Object[]toArray()<T> T[]toArray(T[] a) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
equals, hashCode, replaceAll, sortMethods inherited from interface ghidra.generic.util.datastruct.ValueSortedMap.ValueSortedMapKeyList
spliterator
-
Constructor Details
-
RestrictedValueSortedMapKeyList
public RestrictedValueSortedMapKeyList()
-
-
Method Details
-
size
public int size() -
isEmpty
public boolean isEmpty() -
contains
-
iterator
-
toArray
-
toArray
public <T> T[] toArray(T[] a) -
add
-
remove
-
containsAll
- Specified by:
containsAllin interfaceCollection<K>- Specified by:
containsAllin interfaceList<K>- Specified by:
containsAllin interfaceSet<K>
-
addAll
-
retainAll
-
removeAll
-
clear
public void clear() -
addAll
-
get
-
set
-
add
-
remove
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<K>
-
listIterator
- Specified by:
listIteratorin interfaceList<K>
-
listIterator
- Specified by:
listIteratorin interfaceList<K>
-
subList
-
addFirst
-
addLast
-
offerFirst
- Specified by:
offerFirstin interfaceDeque<K>
-
offerLast
-
removeFirst
- Specified by:
removeFirstin interfaceDeque<K>
-
removeLast
- Specified by:
removeLastin interfaceDeque<K>
-
pollFirst
-
pollLast
-
getFirst
-
getLast
-
peekFirst
-
peekLast
-
removeFirstOccurrence
- Specified by:
removeFirstOccurrencein interfaceDeque<K>
-
removeLastOccurrence
- Specified by:
removeLastOccurrencein interfaceDeque<K>
-
offer
-
remove
-
poll
-
element
-
peek
-
push
-
pop
-
descendingIterator
- Specified by:
descendingIteratorin interfaceDeque<K>
-