Interface ArrayWrappers.ArrayWrapper

Enclosing class:
ArrayWrappers

public static interface ArrayWrappers.ArrayWrapper
Simple wrapper for an array or list, enabling values to be returned as doubles.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    getDouble(int ind)
    Extract one entry from the array, converting to double as necessary.
    boolean
    Returns true if the array wrapper only supports integer values.
    int
    Number of entries in the array.
  • Method Details

    • size

      int size()
      Number of entries in the array.
      Returns:
    • getDouble

      double getDouble(int ind)
      Extract one entry from the array, converting to double as necessary.
      Parameters:
      ind -
      Returns:
    • isIntegerWrapper

      boolean isIntegerWrapper()
      Returns true if the array wrapper only supports integer values.
      Returns: