Class GssFunctions.Div

  • All Implemented Interfaces:
    GssFunction
    Enclosing class:
    GssFunctions

    public static class GssFunctions.Div
    extends java.lang.Object
    A GssFunction that returns the quotient of its arguments. Only the first argument may have a unit.
    • Constructor Summary

      Constructors 
      Constructor Description
      Div()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean isIdentityValue​(double value)
      By default, this method returns false.
      protected double performOperation​(double left, double right)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Div

        public Div()
    • Method Detail

      • performOperation

        protected double performOperation​(double left,
                                          double right)
      • isIdentityValue

        protected boolean isIdentityValue​(double value)
        By default, this method returns false.
        Returns:
        whether the identity value has no effect on the output. In this case, any units (px, pt, etc.) will be ignored.