public class IndexLinkedList<K,T> extends LinkedList<T>
modCount| Constructor and Description |
|---|
IndexLinkedList() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(K key,
T element)
Add the element and register it in the map.
|
T |
query(K key)
Retrieve element by key.
|
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, set, size, spliterator, toArray, toArrayiteratorequals, hashCode, listIterator, removeRange, subListcontainsAll, isEmpty, removeAll, retainAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCode, isEmpty, iterator, listIterator, removeAll, replaceAll, retainAll, sort, subListparallelStream, removeIf, streamCopyright © 2023. All rights reserved.