Class LimitedQueue<E>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.AbstractSequentialList<E>
java.util.LinkedList<E>
com.logicaldoc.gui.common.client.util.LimitedQueue<E>
- Type Parameters:
- E- the entity to use
- All Implemented Interfaces:
- Serializable,- Cloneable,- Iterable<E>,- Collection<E>,- Deque<E>,- List<E>,- Queue<E>,- SequencedCollection<E>
A limited queue
- Since:
- 8.8.4
- Author:
- Marco Meschieri - LogicalDOC
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class java.util.LinkedListadd, 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, reversed, set, size, spliterator, toArray, toArrayMethods inherited from class java.util.AbstractSequentialListiteratorMethods inherited from class java.util.AbstractListlistIterator, subListMethods inherited from class java.util.AbstractCollectioncontainsAll, isEmpty, removeAll, retainAll, toStringMethods inherited from interface java.util.CollectionparallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.ListcontainsAll, isEmpty, iterator, listIterator, removeAll, replaceAll, retainAll, sort, subList
- 
Constructor Details- 
LimitedQueuepublic LimitedQueue(int limit) 
 
- 
- 
Method Details- 
add
- 
hashCodepublic int hashCode()- Specified by:
- hashCodein interface- Collection<E>
- Specified by:
- hashCodein interface- List<E>
- Overrides:
- hashCodein class- AbstractList<E>
 
- 
equals- Specified by:
- equalsin interface- Collection<E>
- Specified by:
- equalsin interface- List<E>
- Overrides:
- equalsin class- AbstractList<E>
 
 
-