Class GssFunctions.AddToNumericValue

  • All Implemented Interfaces:
    GssFunction
    Enclosing class:
    GssFunctions

    public static class GssFunctions.AddToNumericValue
    extends java.lang.Object
    The "add()" function adds a list of numeric values.
    • 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

      • AddToNumericValue

        public AddToNumericValue()
    • 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.