Class MinArrayFunction

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

public abstract class MinArrayFunction extends AbstractArrayFunction implements DoubleSource
This class computes the minimum 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

    • MinArrayFunction

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

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

      public MinArrayFunction(@NonNull @NonNull DoubleArraySource source)
      Creates a minimum function on a double array source.
      Parameters:
      source - The data source.
      Throws:
      NullPointerException - when source is null.