Package nom.tam.util.array
Class MultiArrayPointer
java.lang.Object
nom.tam.util.array.MultiArrayPointer
Deprecated.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.()for internal use) Visibility may be reduced to private.MultiArrayPointer(Object baseArray) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisSubArray(Object element) Deprecated.()for internal use) Visibility may be reduced to private.next()Deprecated.voidreset()Deprecated.
-
Field Details
-
END
Deprecated.A dummy object to mark the end.
-
-
Constructor Details
-
MultiArrayPointer
Deprecated.()for internal use) Visibility may be reduced to private.Constructs a new pointer for an unspecified multi-dimensional array object. -
MultiArrayPointer
Deprecated.Constructs a new pointer for the specified multidimensional array object.- Parameters:
baseArray- the multidimensional array to iterate over.
-
-
Method Details
-
next
Deprecated.Returns the next base element in the array- Returns:
- the next base element in the array.
-
reset
Deprecated.Resets the pointer such thatnext()will return the first element again. -
isSubArray
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:
trueif the entries in the given element are also arrays, otherwisefalse.
-
MultiArrayCopierandMultiArrayIterator.