Class MaxArrayFunction

All Implemented Interfaces:
EventListener, DoubleSource, UpdatableSource
Direct Known Subclasses:
MaxArrayFunction.Double, MaxArrayFunction.Integer, MaxArrayFunction.Long

public abstract class MaxArrayFunction extends AbstractArrayFunction implements DoubleSource
This class computes the maximum value in an array of source values. According to the source data type there are three data-type oriented implementations. Each of them implements always the DoubleSource interface.
  • Constructor Details

    • MaxArrayFunction

      public MaxArrayFunction(@NonNull @NonNull IntArraySource source)
      Creates a maximum function on an integer array source.
      Parameters:
      source - The data source.
      Throws:
      NullPointerException - when source is null.
    • MaxArrayFunction

      public MaxArrayFunction(@NonNull @NonNull LongArraySource source)
      Creates a maximum function on a long array source.
      Parameters:
      source - The data source.
      Throws:
      NullPointerException - when source is null.
    • MaxArrayFunction

      public MaxArrayFunction(@NonNull @NonNull DoubleArraySource source)
      Create a maximum function on a double array source.
      Parameters:
      source - The data source.
      Throws:
      NullPointerException - when source is null.