de.cau.cs.kieler.sj.util
Class LinkedList<T>
java.lang.Object
de.cau.cs.kieler.sj.util.AbstractCollection<T>
de.cau.cs.kieler.sj.util.LinkedList<T>
- Type Parameters:
T
- The type of the elements insert into the list.
- All Implemented Interfaces:
- Iterable<T>
public class LinkedList<T>
- extends AbstractCollection<T>
A subset of a classical LinkedList. Should be fast and use less resources.
- Rating

Constructor Summary |
LinkedList()
Creates a new and empty LinkedList. |
Method Summary |
void |
add(T o)
Adds a given object into the list. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LinkedList
public LinkedList()
- Creates a new and empty LinkedList.
add
public void add(T o)
- Adds a given object into the list. The object must be from the same type as the class param.
- Specified by:
add
in class AbstractCollection<T>
- Parameters:
o
- The object to add to the list.