|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.toronto.cs.expr.NamedOp
public abstract class NamedOp
Constructor Summary | |
---|---|
NamedOp(java.lang.String _name,
int _arity)
|
Method Summary | |
---|---|
int |
arity()
Arrity of this operator |
boolean |
equals(java.lang.Object o)
|
boolean |
isWellFormed(Expr[] args)
true if this operator is well-formed with this arguments provided that the arguments are well formed themselves |
java.lang.String |
name()
Name of this operator |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NamedOp(java.lang.String _name, int _arity)
Method Detail |
---|
public int arity()
Operator
arity
in interface Operator
int
valuepublic java.lang.String name()
Operator
name
in interface Operator
String
valuepublic boolean isWellFormed(Expr[] args)
Operator
isWellFormed
in interface Operator
args
- an Expr[]
value
boolean
valuepublic boolean equals(java.lang.Object o)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |