Class MDAbstractArray.ArrayEntry

  • Enclosing class:
    MDAbstractArray<T>

    public class MDAbstractArray.ArrayEntry
    extends java.lang.Object
    A class to represent an entry (index and value) of a MDArray, used for iteration.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int[] getIndex()
      The multi-dimensional index of this entry.
      int getLinearIndex()
      The linear index of this entry.
      T getValue()
      The value of this entry.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getIndex

        public int[] getIndex()
        The multi-dimensional index of this entry.
      • getLinearIndex

        public int getLinearIndex()
        The linear index of this entry.
      • getValue

        public T getValue()
        The value of this entry.