Class MinArrayFunction.Long

All Implemented Interfaces:
EventListener, IDoubleSource, ILongSource, IUpdatableSource
Enclosing class:
MinArrayFunction

public static class MinArrayFunction.Long extends MinArrayFunction implements ILongSource
MinFunction operating on long source values.
Author:
Michele Sonnessa
  • Field Details

    • lmin

      protected long lmin
  • Constructor Details

    • Long

      public Long(ILongArraySource source)
      Create a minimum function on a long array source.
      Parameters:
      source - The data source.
  • Method Details

    • apply

      public void apply(long[] data)
      Description copied from class: AbstractArrayFunction
      Apply the function on a the given array of long values.
      Overrides:
      apply in class AbstractArrayFunction
      Parameters:
      data - A source array of values.
    • getLongValue

      public long getLongValue(Enum<?> variableID)
      Description copied from interface: ILongSource
      Return the long value corresponding to the given variableID
      Specified by:
      getLongValue in interface ILongSource
      Parameters:
      variableID - A unique identifier for a variable.
      Returns:
      The current long value of the required variable.
    • getDoubleValue

      public double getDoubleValue(Enum<?> variableID)
      Description copied from interface: IDoubleSource
      Return the double value corresponding to the given variableID
      Specified by:
      getDoubleValue in interface IDoubleSource
      Parameters:
      variableID - A unique identifier for a variable.
      Returns:
      The current double value of the required variable.