Record Class NetCDFDimensionIndexes.ArrayNumericAxisLookup

Object
Record
ArrayNumericAxisLookup
All Implemented Interfaces:
NetCDFDimensionIndexes.AxisLookup, NetCDFDimensionIndexes.NumericAxisLookup
Enclosing class:
NetCDFDimensionIndexes

public static record NetCDFDimensionIndexes.ArrayNumericAxisLookup(double[] values) extends Record implements NetCDFDimensionIndexes.NumericAxisLookup
Array-backed numeric lookup for irregular numeric axes.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ArrayNumericAxisLookup(double[] values)
    Builds a numeric lookup backed by explicit axis values.
  • Method Summary

    Modifier and Type
    Method
    Description
    final boolean
    Indicates whether some other object is "equal to" this one.
    int
    exact(double value)
    Returns the index of the axis element exactly matching the provided value.
    int
    firstIndexAfter(double value, boolean inclusive)
    Returns the first index whose value is after, or optionally equal to, the provided value.
    final int
    Returns a hash code value for this object.
    int
    lastIndexBefore(double value, boolean inclusive)
    Returns the exclusive upper bound index for values before, or optionally equal to, the provided value.
    int
    Returns the number of values available on the axis.
    final String
    Returns a string representation of this record class.
    double
    valueAt(int index)
    Returns the numeric value at the specified axis index.
    double[]
    Returns the value of the values record component.

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ArrayNumericAxisLookup

      public ArrayNumericAxisLookup(double[] values)
      Builds a numeric lookup backed by explicit axis values.
  • Method Details