ggz.common
Class SortedList

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.AbstractSequentialList<E>
              extended by java.util.LinkedList
                  extended by ggz.common.SortedList
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 SortedList
extends java.util.LinkedList

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
SortedList(java.util.Comparator c)
           
 
Method Summary
 void add(int arg0, java.lang.Object arg1)
           
 boolean add(java.lang.Object e)
           
 boolean addAll(java.util.Collection c)
           
 boolean addAll(int arg0, java.util.Collection arg1)
           
 void addFirst(java.lang.Object arg0)
           
 void addLast(java.lang.Object arg0)
           
 java.lang.Object set(int arg0, java.lang.Object arg1)
           
 
Methods inherited from class java.util.LinkedList
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, size, toArray, toArray
 
Methods inherited from class java.util.AbstractSequentialList
iterator
 
Methods inherited from class java.util.AbstractList
equals, hashCode, listIterator, removeRange, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, isEmpty, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, isEmpty, iterator, listIterator, removeAll, retainAll, subList
 
Methods inherited from interface java.util.Deque
iterator
 

Constructor Detail

SortedList

public SortedList(java.util.Comparator c)
Method Detail

add

public boolean add(java.lang.Object e)
Specified by:
add in interface java.util.Collection
Specified by:
add in interface java.util.Deque
Specified by:
add in interface java.util.List
Specified by:
add in interface java.util.Queue
Overrides:
add in class java.util.LinkedList

addAll

public boolean addAll(java.util.Collection c)
Specified by:
addAll in interface java.util.Collection
Specified by:
addAll in interface java.util.List
Overrides:
addAll in class java.util.LinkedList

add

public void add(int arg0,
                java.lang.Object arg1)
Specified by:
add in interface java.util.List
Overrides:
add in class java.util.LinkedList

addAll

public boolean addAll(int arg0,
                      java.util.Collection arg1)
Specified by:
addAll in interface java.util.List
Overrides:
addAll in class java.util.LinkedList

addFirst

public void addFirst(java.lang.Object arg0)
Specified by:
addFirst in interface java.util.Deque
Overrides:
addFirst in class java.util.LinkedList

addLast

public void addLast(java.lang.Object arg0)
Specified by:
addLast in interface java.util.Deque
Overrides:
addLast in class java.util.LinkedList

set

public java.lang.Object set(int arg0,
                            java.lang.Object arg1)
Specified by:
set in interface java.util.List
Overrides:
set in class java.util.LinkedList