de.projectory.koivima.core
Class ElementList

java.lang.Object
  extended by de.projectory.koivima.core.Element
      extended by de.projectory.koivima.core.AbstractElementList
          extended by de.projectory.koivima.core.ElementList
All Implemented Interfaces:
java.lang.Iterable<Element>

public class ElementList
extends AbstractElementList

A list of executable Elements that is itself an element.


Field Summary
 
Fields inherited from class de.projectory.koivima.core.AbstractElementList
code
 
Fields inherited from class de.projectory.koivima.core.Element
context
 
Constructor Summary
ElementList()
           
 
Method Summary
 void add(Element element)
          Adds an element to the end of this list.
 void addFirst(Element element)
          Adds an element to the beginning of this list.
 
Methods inherited from class de.projectory.koivima.core.AbstractElementList
execute, iterator, setExecutionContext
 
Methods inherited from class de.projectory.koivima.core.Element
getExecutionContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElementList

public ElementList()
Method Detail

add

public void add(Element element)
Adds an element to the end of this list.

Specified by:
add in class AbstractElementList
Parameters:
element - A code element: data element, operator or other

addFirst

public void addFirst(Element element)
Adds an element to the beginning of this list.

Specified by:
addFirst in class AbstractElementList
Parameters:
element - A code element: data element, operator or other