Serializable
ListExp
, MixedExp
, OneOrMoreExp
public abstract class UnaryExp extends Expression
Modifier and Type | Field | Description |
---|---|---|
Expression |
exp |
child expression.
|
anyString, epsilon, nullSet, verifierTag
Modifier | Constructor | Description |
---|---|---|
protected |
UnaryExp(Expression exp) |
Modifier and Type | Method | Description |
---|---|---|
protected int |
calcHashCode() |
Computes the hashCode again.
|
boolean |
equals(Object o) |
calcEpsilonReducibility, getExpandedExp, hashCode, hashCode, hashCode, isEpsilonReducible, peelOccurence, readResolve, visit, visit, visit, visit, visit, visit, visit, visit
public final Expression exp
protected UnaryExp(Expression exp)
protected final int calcHashCode()
Expression
This method and the parameter to the constructor has to be the same. This method is used when the object is being read from the stream.
calcHashCode
in class Expression
public boolean equals(Object o)
equals
in class Expression
Copyright © 2019 Oracle Corporation. All rights reserved.