Package 

Class LimitedQueue

  • All Implemented Interfaces:
    java.io.Serializable , java.lang.Cloneable , java.lang.Iterable , java.util.Collection , java.util.Deque , java.util.List , java.util.Queue

    
    public class LimitedQueue<E>
    extends LinkedList<E>
                        
    • Constructor Summary

      Constructors 
      Constructor Description
      LimitedQueue(int limit)
    • Method Summary

      Modifier and Type Method Description
      boolean add(E o)
      • Methods inherited from class java.util.LinkedList

        add, add, 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, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, set, size, spliterator, toArray, toArray
      • Methods inherited from class java.util.AbstractSequentialList

        iterator
      • Methods inherited from class java.util.AbstractList

        equals, hashCode, subList
      • Methods inherited from class java.util.AbstractCollection

        containsAll, isEmpty, removeAll, retainAll, toString
      • Methods inherited from class java.util.Collection

        parallelStream, removeIf, stream
      • Methods inherited from class java.lang.Iterable

        forEach, iterator, spliterator
      • Methods inherited from class java.util.List

        copyOf, of, replaceAll, sort
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LimitedQueue

        LimitedQueue(int limit)
    • Method Detail

      • add

         boolean add(E o)