Class ExprReducer.Reduced

  • Enclosing class:
    ExprReducer

    public static class ExprReducer.Reduced
    extends java.lang.Object
    Class for holding a reduced expression that is represented by the formula: constant + polynomial, where constant is a constant integer value and polynomial is expression that cannot be reduced any further.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • constant

        public final int constant
      • polynomial

        public final Expr polynomial
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object