|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--vote.SubNode | +--vote.OperationCall
This class implements a operation call.
Operation
,
NodeList
Field Summary | |
static vote.OperationCall |
NopCall
NOP operation call. |
Constructor Summary | |
OperationCall(vote.Operation id,
vote.NodeList parameters)
Constructor of the operation call node. |
Method Summary | |
vote.Node |
argument(int index)
Returns the argument of the call at the specified position. |
vote.NodeList |
arguments()
Returns the arguments of the call. |
boolean |
equals(Object node)
Tests if some other object is "equal to" this one. |
vote.Operation |
identifier()
Returns the identifier of the operation. |
String |
toString()
Returns a string representation of this operation call node. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static vote.OperationCall NopCall
Constructor Detail |
public OperationCall(vote.Operation id, vote.NodeList parameters)
id
- identifier of the operation.parameters
- arguments of the call.Method Detail |
public vote.NodeList arguments()
public vote.Node argument(int index)
index
- index of argument to return.
public vote.Operation identifier()
public boolean equals(Object node)
equals
in class Object
node
- the term with which to compare.
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |