Package ghidra.generic.util.datastruct
Class RestrictedValueSortedMap.RestrictedValueSortedMapEntryList
- java.lang.Object
-
- ghidra.generic.util.datastruct.RestrictedValueSortedMap.RestrictedValueSortedMapEntryList
-
- All Implemented Interfaces:
ValueSortedMap.ValueSortedMapEntryList<K,V>
,java.lang.Iterable<java.util.Map.Entry<K,V>>
,java.util.Collection<java.util.Map.Entry<K,V>>
,java.util.Deque<java.util.Map.Entry<K,V>>
,java.util.List<java.util.Map.Entry<K,V>>
,java.util.Queue<java.util.Map.Entry<K,V>>
,java.util.Set<java.util.Map.Entry<K,V>>
- Enclosing class:
- RestrictedValueSortedMap<K,V>
public class RestrictedValueSortedMap.RestrictedValueSortedMapEntryList extends java.lang.Object implements ValueSortedMap.ValueSortedMapEntryList<K,V>
A list view suitable forValueSortedMap.entrySet()
ofRestrictedValueSortedMap
-
-
Constructor Summary
Constructors Constructor Description RestrictedValueSortedMapEntryList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(int index, java.util.Map.Entry<K,V> element)
boolean
add(java.util.Map.Entry<K,V> e)
boolean
addAll(int index, java.util.Collection<? extends java.util.Map.Entry<K,V>> c)
boolean
addAll(java.util.Collection<? extends java.util.Map.Entry<K,V>> c)
void
addFirst(java.util.Map.Entry<K,V> e)
void
addLast(java.util.Map.Entry<K,V> e)
void
clear()
boolean
contains(java.lang.Object o)
boolean
containsAll(java.util.Collection<?> c)
java.util.Iterator<java.util.Map.Entry<K,V>>
descendingIterator()
java.util.Map.Entry<K,V>
element()
java.util.Map.Entry<K,V>
get(int index)
java.util.Map.Entry<K,V>
getFirst()
java.util.Map.Entry<K,V>
getLast()
int
indexOf(java.lang.Object o)
boolean
isEmpty()
java.util.Iterator<java.util.Map.Entry<K,V>>
iterator()
int
lastIndexOf(java.lang.Object o)
java.util.ListIterator<java.util.Map.Entry<K,V>>
listIterator()
java.util.ListIterator<java.util.Map.Entry<K,V>>
listIterator(int index)
boolean
offer(java.util.Map.Entry<K,V> e)
boolean
offerFirst(java.util.Map.Entry<K,V> e)
boolean
offerLast(java.util.Map.Entry<K,V> e)
java.util.Map.Entry<K,V>
peek()
java.util.Map.Entry<K,V>
peekFirst()
java.util.Map.Entry<K,V>
peekLast()
java.util.Map.Entry<K,V>
poll()
java.util.Map.Entry<K,V>
pollFirst()
java.util.Map.Entry<K,V>
pollLast()
java.util.Map.Entry<K,V>
pop()
void
push(java.util.Map.Entry<K,V> e)
java.util.Map.Entry<K,V>
remove()
java.util.Map.Entry<K,V>
remove(int index)
boolean
remove(java.lang.Object o)
boolean
removeAll(java.util.Collection<?> c)
java.util.Map.Entry<K,V>
removeFirst()
boolean
removeFirstOccurrence(java.lang.Object o)
java.util.Map.Entry<K,V>
removeLast()
boolean
removeLastOccurrence(java.lang.Object o)
boolean
retainAll(java.util.Collection<?> c)
java.util.Map.Entry<K,V>
set(int index, java.util.Map.Entry<K,V> element)
int
size()
java.util.List<java.util.Map.Entry<K,V>>
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.ValueSortedMapEntryList
spliterator
-
-
-
-
Method Detail
-
size
public int size()
- Specified by:
size
in interfacejava.util.Collection<java.util.Map.Entry<K,V>>
- Specified by:
size
in interfacejava.util.Deque<java.util.Map.Entry<K,V>>
- Specified by:
size
in interfacejava.util.List<java.util.Map.Entry<K,V>>
- Specified by:
size
in interfacejava.util.Set<java.util.Map.Entry<K,V>>
-
isEmpty
public boolean isEmpty()
-
contains
public boolean contains(java.lang.Object o)
- Specified by:
contains
in interfacejava.util.Collection<java.util.Map.Entry<K,V>>
- Specified by:
contains
in interfacejava.util.Deque<java.util.Map.Entry<K,V>>
- Specified by:
contains
in interfacejava.util.List<java.util.Map.Entry<K,V>>
- Specified by:
contains
in interfacejava.util.Set<java.util.Map.Entry<K,V>>
-
iterator
public java.util.Iterator<java.util.Map.Entry<K,V>> iterator()
- Specified by:
iterator
in interfacejava.util.Collection<java.util.Map.Entry<K,V>>
- Specified by:
iterator
in interfacejava.util.Deque<java.util.Map.Entry<K,V>>
- Specified by:
iterator
in interfacejava.lang.Iterable<java.util.Map.Entry<K,V>>
- Specified by:
iterator
in interfacejava.util.List<java.util.Map.Entry<K,V>>
- Specified by:
iterator
in interfacejava.util.Set<java.util.Map.Entry<K,V>>
-
toArray
public java.lang.Object[] toArray()
-
toArray
public <T> T[] toArray(T[] a)
-
add
public boolean add(java.util.Map.Entry<K,V> e)
- Specified by:
add
in interfacejava.util.Collection<java.util.Map.Entry<K,V>>
- Specified by:
add
in interfacejava.util.Deque<java.util.Map.Entry<K,V>>
- Specified by:
add
in interfacejava.util.List<java.util.Map.Entry<K,V>>
- Specified by:
add
in interfacejava.util.Queue<java.util.Map.Entry<K,V>>
- Specified by:
add
in interfacejava.util.Set<java.util.Map.Entry<K,V>>
-
remove
public boolean remove(java.lang.Object o)
- Specified by:
remove
in interfacejava.util.Collection<java.util.Map.Entry<K,V>>
- Specified by:
remove
in interfacejava.util.Deque<java.util.Map.Entry<K,V>>
- Specified by:
remove
in interfacejava.util.List<java.util.Map.Entry<K,V>>
- Specified by:
remove
in interfacejava.util.Set<java.util.Map.Entry<K,V>>
-
containsAll
public boolean containsAll(java.util.Collection<?> c)
-
addAll
public boolean addAll(java.util.Collection<? extends java.util.Map.Entry<K,V>> c)
- Specified by:
addAll
in interfacejava.util.Collection<java.util.Map.Entry<K,V>>
- Specified by:
addAll
in interfacejava.util.Deque<java.util.Map.Entry<K,V>>
- Specified by:
addAll
in interfacejava.util.List<java.util.Map.Entry<K,V>>
- Specified by:
addAll
in interfacejava.util.Set<java.util.Map.Entry<K,V>>
-
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 java.util.Map.Entry<K,V>> c)
-
indexOf
public int indexOf(java.lang.Object o)
-
lastIndexOf
public int lastIndexOf(java.lang.Object o)
-
removeFirstOccurrence
public boolean removeFirstOccurrence(java.lang.Object o)
-
removeLastOccurrence
public boolean removeLastOccurrence(java.lang.Object o)
-
-