org.dellroad.stuff.util
Interface LinkedList<E>

All Superinterfaces:
Collection<E>, Iterable<E>, List<E>, Queue<E>

public interface LinkedList<E>
extends List<E>, Queue<E>

Interface for linked lists. This interface is missing from the Java collections API.


Method Summary
 void addFirst(E obj)
           
 void addLast(E obj)
           
 E getFirst()
           
 E getLast()
           
 E removeFirst()
           
 E removeLast()
           
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 
Methods inherited from interface java.util.Queue
add, element, offer, peek, poll, remove
 

Method Detail

addFirst

void addFirst(E obj)

addLast

void addLast(E obj)

getFirst

E getFirst()

getLast

E getLast()

removeFirst

E removeFirst()

removeLast

E removeLast()