E
- Type of elements
public class DescendableLinkedListextends LinkedList
modCount
Constructor and Description |
---|
DescendableLinkedList()
Create a new DescendableLinkedList.
|
Modifier and Type | Method and Description |
---|---|
Iterator<E> |
descendingIterator()
Get an iterator that starts and the end of the list and works towards the start.
|
E |
peekLast()
Look at the last element, if there is one.
|
E |
pollLast()
Remove and return the last element, if there is one
|
void |
push(E e)
Add a new element to the start of the list.
|
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peek, peekFirst, poll, pollFirst, pop, remove, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, set, size, spliterator, toArray, toArray
iterator
equals, hashCode, listIterator, removeRange, subList
containsAll, isEmpty, removeAll, retainAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode, isEmpty, iterator, listIterator, removeAll, replaceAll, retainAll, sort, subList
parallelStream, removeIf, stream
public DescendableLinkedList()
public void push(E e)
public E peekLast()
public E pollLast()
public Iterator<E> descendingIterator()
descendingIterator
in interface Deque<E>
descendingIterator
in class LinkedList<E>
Copyright © 1998–2019 iText Group NV. All rights reserved.