com.jalios.util
Class SortedList
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.AbstractSequentialList<E>
java.util.LinkedList
com.jalios.util.SortedList
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable, Collection, List, Queue
public class SortedList
- extends LinkedList
This class is a sorted implementation of the List
interface. The objects added must implement the
Comparable
interface.
- Version:
- $Revision: 27751 $
- Author:
- Olivier Dedieu
- See Also:
- Serialized Form
Methods inherited from class java.util.LinkedList |
add, addAll, addAll, addFirst, addLast, clear, clone, contains, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, peek, poll, remove, remove, remove, removeFirst, removeLast, set, size, toArray, toArray |
REVISION
public static final String REVISION
- See Also:
- Constant Field Values
SortedList
public SortedList()
SortedList
public SortedList(Collection c)
add
public boolean add(Object obj)
- Specified by:
add
in interface Collection
- Specified by:
add
in interface List
- Overrides:
add
in class LinkedList
Copyright © 2001-2010 Jalios SA. All Rights Reserved.