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