Package org.codehaus.groovy.util
Class ManagedLinkedList<T>
- java.lang.Object
- 
- org.codehaus.groovy.util.ManagedLinkedList<T>
 
- 
 @Deprecated public class ManagedLinkedList<T> extends java.lang.ObjectDeprecated.replaced byManagedConcurrentLinkedQueueThis 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.- Since:
- 1.6
 
- 
- 
Constructor SummaryConstructors Constructor Description ManagedLinkedList(ReferenceBundle bundle)Deprecated.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidadd(T value)Deprecated.adds a value to the listbooleanisEmpty()Deprecated.returns if the list is emptyjava.util.Iterator<T>iterator()Deprecated.returns an iterator, which allows the removal of elements.T[]toArray(T[] tArray)Deprecated.Returns an array of non null elements from the source array.
 
- 
- 
- 
Constructor Detail- 
ManagedLinkedListpublic ManagedLinkedList(ReferenceBundle bundle) Deprecated.
 
- 
 - 
Method Detail- 
addpublic void add(T value) Deprecated.adds a value to the list- Parameters:
- value- the value
 
 - 
iteratorpublic java.util.Iterator<T> iterator() Deprecated.returns an iterator, which allows the removal of elements. The next() method of the iterator may return null values. This is especially the case if the value was removed.- Returns:
- the Iterator
 
 - 
toArraypublic T[] toArray(T[] tArray) Deprecated.Returns an array of non null elements from the source array.- Parameters:
- tArray- the source array
- Returns:
- the array
 
 - 
isEmptypublic boolean isEmpty() Deprecated.returns if the list is empty- Returns:
- true if the list is empty
 
 
- 
 
-