public class ManagedLinkedList<T> extends Object
Constructor and Description |
---|
ManagedLinkedList(ReferenceBundle bundle) |
Modifier and Type | Method and Description |
---|---|
void |
add(T value)
adds a value to the list
|
boolean |
isEmpty()
returns if the list is empty
|
Iterator<T> |
iterator()
returns an iterator, which allows the removal of elements.
|
T[] |
toArray(T[] tArray)
Returns an array of non null elements from the source array.
|
public ManagedLinkedList(ReferenceBundle bundle)
public void add(T value)
value
- the valuepublic Iterator<T> iterator()
public T[] toArray(T[] tArray)
tArray
- the source arraypublic boolean isEmpty()