All Implemented Interfaces:
PathFunction

public class Max extends AbstractAggregation
Defines the summation of a series of JSONArray numerical values Created by mattg on 6/26/15.
  • Field Details

  • Constructor Details

    • Max

      public Max()
  • Method Details

    • next

      protected void next(Number value)
      Description copied from class: AbstractAggregation
      Defines the next value in the array to the mathmatical function
      Specified by:
      next in class AbstractAggregation
      Parameters:
      value - The numerical value to process next
    • getValue

      protected Number getValue()
      Description copied from class: AbstractAggregation
      Obtains the value generated via the series of next value calls
      Specified by:
      getValue in class AbstractAggregation
      Returns:
      A numerical answer based on the input value provided