Package smile.util

Interface ArrayElementConsumer


public interface ArrayElementConsumer
Represents an operation that accepts an array element of double value and returns no result.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    apply(int i, double x)
    Performs this operation on the given element.
  • Method Details

    • apply

      void apply(int i, double x)
      Performs this operation on the given element.
      Parameters:
      i - the index of array element.
      x - the value of array element.