Class MultiArrayPointer

java.lang.Object
nom.tam.util.array.MultiArrayPointer

@Deprecated public class MultiArrayPointer extends Object
Deprecated.
()for internal use) Visibility may be reduced to the package level in the future. A multi-dimensional array index. Used only by MultiArrayCopier and MultiArrayIterator.
  • Field Details

    • END

      @Deprecated public static final Object END
      Deprecated.
      A dummy object to mark the end.
  • Constructor Details

    • MultiArrayPointer

      @Deprecated public MultiArrayPointer()
      Deprecated.
      ()for internal use) Visibility may be reduced to private.
      Constructs a new pointer for an unspecified multi-dimensional array object.
    • MultiArrayPointer

      @Deprecated public MultiArrayPointer(Object baseArray)
      Deprecated.
      Constructs a new pointer for the specified multidimensional array object.
      Parameters:
      baseArray - the multidimensional array to iterate over.
  • Method Details

    • next

      @Deprecated public Object next()
      Deprecated.
      Returns the next base element in the array
      Returns:
      the next base element in the array.
    • reset

      @Deprecated public void reset()
      Deprecated.
      Resets the pointer such that next() will return the first element again.
    • isSubArray

      @Deprecated public static boolean isSubArray(Object element)
      Deprecated.
      ()for internal use) Visibility may be reduced to private.
      Checks whether entries in a given element are also arrays themselves.
      Parameters:
      element - the element
      Returns:
      true if the entries in the given element are also arrays, otherwise false.