Record Class NetCDFDimensionIndexes.ArrayTimeAxisLookup

Object
Record
ArrayTimeAxisLookup
All Implemented Interfaces:
NetCDFDimensionIndexes.AxisLookup, NetCDFDimensionIndexes.TimeAxisLookup
Enclosing class:
NetCDFDimensionIndexes

public static record NetCDFDimensionIndexes.ArrayTimeAxisLookup(long[] values) extends Record implements NetCDFDimensionIndexes.TimeAxisLookup
Array-backed time lookup for irregular temporal axes.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ArrayTimeAxisLookup(long[] values)
    Builds a temporal 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(Date value)
    Returns the index of the axis element exactly matching the provided value.
    int
    firstIndexAfter(Date 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(Date 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.
    valueAt(int index)
    Returns the temporal value at the specified axis index.
    long[]
    Returns the value of the values record component.

    Methods inherited from class Object

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

    • ArrayTimeAxisLookup

      public ArrayTimeAxisLookup(long[] values)
      Builds a temporal lookup backed by explicit axis values.
  • Method Details