public class HistoryList<E> extends LinkedList<E>
The method addLast(Object)
will remove the first object of the list when at full capacity.
Modifier and Type | Field and Description |
---|---|
protected int |
capacity |
modCount
Constructor and Description |
---|
HistoryList(int capacity) |
Modifier and Type | Method and Description |
---|---|
void |
addLast(E o) |
add, add, addAll, addAll, addFirst, 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, 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
protected int capacity
public HistoryList(int capacity)
Copyright © 2016 Nuxeo SA. All rights reserved.