Class UnaryExp

java.lang.Object
com.sun.msv.grammar.Expression
com.sun.msv.grammar.UnaryExp
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ListExp, MixedExp, OneOrMoreExp

public abstract class UnaryExp extends Expression
Base implementation for those expression who has one child expresison.
Author:
Kohsuke KAWAGUCHI
See Also:
  • Field Details

    • exp

      public final Expression exp
      child expression.
  • Constructor Details

  • Method Details

    • calcHashCode

      protected final int calcHashCode()
      Description copied from class: Expression
      Computes the hashCode again.

      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.

      Specified by:
      calcHashCode in class Expression
    • equals

      public boolean equals(Object o)
      Specified by:
      equals in class Expression