All Packages Class Hierarchy This Package Previous Next Index
Class term.Liste
java.lang.Object
|
+----term.Liste
- public class Liste
- extends Object
Implementation of a simple linked list.
Allows fast appending of elements at the beginning and at the end
of the list.
-
Liste()
-
-
Liste(Liste. ListEl)
-
-
addElement(Object)
-
-
addLast(Object)
-
-
clone()
-
-
copyListEl(Liste. ListEl)
- generates a complete recursive copy of the element chain.
-
elementAt(int)
- Returns the element with the given index or
null
if there is no element with that index.
-
elements()
- Liefert eine Enumeration der Elemente dieser Liste.
-
firstEl()
-
-
getElementCopy()
- Liefert eine Enumeration einer Kopie der Elemente dieser Liste.
-
isEmpty()
-
-
removeElement(Object)
-
-
removeFirst()
-
-
size()
-
Liste
protected Liste(Liste. ListEl newFirst)
Liste
public Liste()
addElement
public void addElement(Object E)
addLast
public void addLast(Object E)
clone
public Object clone()
- Overrides:
- clone in class Object
copyListEl
protected Liste. ListEl copyListEl(Liste. ListEl toCopy)
- generates a complete recursive copy of the element chain.
elementAt
public Object elementAt(int index)
- Returns the element with the given index or
null
if there is no element with that index.
elements
public Enumeration elements()
- Liefert eine Enumeration der Elemente dieser Liste. Keine Kopie !
firstEl
public Object firstEl()
getElementCopy
public Enumeration getElementCopy()
- Liefert eine Enumeration einer Kopie der Elemente dieser Liste.
isEmpty
public boolean isEmpty()
removeElement
public Object removeElement(Object E)
removeFirst
public Object removeFirst()
size
public int size()
All Packages Class Hierarchy This Package Previous Next Index