| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.groovy.util.ManagedLinkedList<T>
public class ManagedLinkedList<T>
This class provides a very simple linked list of memory managed elements. This class does not support concurrent modifications nor will it check for them. This class is also not thread safe.
| Constructor Summary | |
|---|---|
ManagedLinkedList(ReferenceBundle bundle)
 | 
|
| Method Summary | |
|---|---|
 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.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ManagedLinkedList(ReferenceBundle bundle)
| Method Detail | 
|---|
public void add(T value)
value - the valuepublic Iterator<T> iterator()
public T[] toArray(T[] tArray)
tArray - the source array
public boolean isEmpty()
  | 
Copyright © 2003-2012 The Codehaus. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||