|
Groovy 2.2.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.util.ManagedLinkedList
public class ManagedLinkedList extends Object
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.
Method Summary | |
---|---|
def
|
ManagedLinkedList(ReferenceBundle bundle)
|
void
|
add(Object value)
adds a value to the list |
boolean
|
isEmpty()
returns if the list is empty |
Iterator
|
iterator()
returns an iterator, which allows the removal of elements. |
Object[]
|
toArray(Object[] tArray)
Returns an array of non null elements from the source array. |
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Method Detail |
---|
public def ManagedLinkedList(ReferenceBundle bundle)
public void add(Object value)
value
- the value
public boolean isEmpty()
public Iterator iterator()
public Object[] toArray(Object[] tArray)
tArray
- the source array
Copyright © 2003-2013 The Codehaus. All rights reserved.