be.lassi.base
Class LList<E>
java.lang.Object
be.lassi.base.LList<E>
- All Implemented Interfaces:
- java.lang.Iterable<E>
public class LList<E>
- extends java.lang.Object
- implements java.lang.Iterable<E>
Constructor Summary |
LList()
Constructs a new instance. |
LList(Dirty dirty)
Constructs a new instance. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
LList
public LList()
- Constructs a new instance.
LList
public LList(Dirty dirty)
- Constructs a new instance.
- Parameters:
dirty
- the dirty indicator
add
public boolean add(E object)
addAll
public boolean addAll(int index,
java.util.List<E> objects)
addListener
public void addListener(LListListener<E> listener)
allAll
public void allAll(LList<E> objects)
clear
public void clear()
equals
public boolean equals(java.lang.Object object)
- Overrides:
equals
in class java.lang.Object
get
public E get(int index)
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
indexOf
public int indexOf(E object)
iterator
public java.util.Iterator<E> iterator()
- Specified by:
iterator
in interface java.lang.Iterable<E>
remove
public boolean remove(E object)
remove
public E remove(int index)
removeListener
public void removeListener(LListListener<E> listener)
size
public int size()
toArray
public E[] toArray(E[] objects)