Class FunctionDefinition
java.lang.Object
|
+--java.util.AbstractCollection
|
+--java.util.AbstractList
|
+--java.util.ArrayList
|
+--FunctionDefinition
- All Implemented Interfaces:
- Cloneable, Collection, List, Serializable
- public class FunctionDefinition
- extends ArrayList
This class represents a definition of a function as a list of
rewrite axiom.
- Author:
- P. URSO
- See Also:
RewriteRule
,
RuleTable
, Serialized Form
Method Summary |
RewriteRule |
getAxiom(int i)
Returns the definition at the specified position in this list. |
Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, removeRange, set, size, toArray, toArray, trimToSize |
FunctionDefinition
public FunctionDefinition()
getAxiom
public RewriteRule getAxiom(int i)
- Returns the definition at the specified position in this list.
- Parameters:
index
- index of rewrite rule to return.- Returns:
- the rewrite axiom at the specified position in this list.