Class LinkedUnsortedList<E>

java.lang.Object
ca.spottedleaf.concurrentutil.set.LinkedUnsortedList<E>
All Implemented Interfaces:
Iterable<E>

public final class LinkedUnsortedList<E> extends Object implements Iterable<E>
  • Constructor Details

    • LinkedUnsortedList

      public LinkedUnsortedList()
  • Method Details

    • clear

      public void clear()
    • isEmpty

      public boolean isEmpty()
    • first

      public E first()
    • last

      public E last()
    • containsFirst

      public boolean containsFirst(E element)
    • containsLast

      public boolean containsLast(E element)
    • remove

      public boolean remove(LinkedUnsortedList.Link<E> link)
    • removeFirst

      public boolean removeFirst(E element)
    • removeLast

      public boolean removeLast(E element)
    • iterator

      public Iterator<E> iterator()
      Specified by:
      iterator in interface Iterable<E>
    • pollFirst

      public E pollFirst()
    • pollLast

      public E pollLast()
    • addLast

      public LinkedUnsortedList.Link<E> addLast(E element)
    • addFirst

      public LinkedUnsortedList.Link<E> addFirst(E element)