public class ListOfVariable extends ListOfNodes
Node.Operations
Modifier and Type | Field and Description |
---|---|
static Integer |
ID |
_nodesList
_nodes, _observers, _operations, _thisoperations
Constructor and Description |
---|
ListOfVariable() |
ListOfVariable(Variable[] nodes) |
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor visitor)
This method is part of the implementation of the visitor design pattern.
|
void |
append(Variable e) |
Variable |
element(int i) |
Variable |
first() |
int |
getClassID()
This method return the dynamic class ID of the node.
|
Node |
getClone(HashMap clones)
This method return a clone of the list.
|
Node.Operations |
getOperations()
This method returns the object implementing the operations associated to this node.
|
Variable |
last() |
void |
prepend(Variable e) |
add, add, addAll, addAll, addAll, asACollection, asAList, children, childrenAccept, childrenOfKind, contains, copyValueOf, dofind, dump, find, get, getFirst, getLast, isEmpty, iterator, remove, remove, removeAll, replace, replaceAll, replaceAll, size, sort, toString
addObserver, addOperations, childrenOfKind, childrenOfKind, compare, compareTo, copyValueOf, equals, find, find, find, find, getAttribute, getAttribute, getClone, hasAttribute, hasAttribute, initNode, installOperations, notifyChanges, removeObserver, setAttribute, setAttribute
public static Integer ID
public ListOfVariable(Variable[] nodes)
public ListOfVariable()
public int getClassID()
ListOfNodes
getClassID
in class ListOfNodes
public Variable element(int i)
public void append(Variable e)
public void prepend(Variable e)
public Variable last()
public Variable first()
public void accept(Visitor visitor)
ListOfNodes
accept
in class ListOfNodes
visitor
- the visitor to apply on the list.public Node getClone(HashMap clones)
ListOfNodes
getClone
in class ListOfNodes
public Node.Operations getOperations()
Node
getOperations
in class Node