Interface IPrimaryArrayWrapper

All Known Implementing Classes:
ByteArrayWrapper, DoubleArrayWrapper, FloatArrayWrapper, IntArrayWrapper, ListNumberWrapper, LongArrayWrapper, ShortArrayWrapper

public interface IPrimaryArrayWrapper
A wrapper that wraps primary data types array. This allows clients to accept all primary data types array without converting the array type.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    get(int i)
    Get the array element value at index i.
    int
    Get size of the array.
  • Method Details

    • get

      double get(int i)
      Get the array element value at index i.
      Parameters:
      i - index
      Returns:
      the value at index i.
    • getSize

      int getSize()
      Get size of the array.
      Returns:
      size of the array.