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, 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, streamprotected int capacity
public HistoryList(int capacity)
Copyright © 2019 Nuxeo. All rights reserved.