Package nom.tam.util.array
Class MultiArrayPointer
java.lang.Object
nom.tam.util.array.MultiArrayPointer
Deprecated.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDeprecated.()for internal use) Visibility may be reduced to private.MultiArrayPointer
(Object baseArray) Deprecated.Constructs a new pointer for the specified multidimensional array object. -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isSubArray
(Object element) Deprecated.()for internal use) Visibility may be reduced to private.next()
Deprecated.Returns the next base element in the arrayvoid
reset()
Deprecated.Resets the pointer such thatnext()
will return the first element again.
-
Field Details
-
END
Deprecated.A dummy object to mark the end.
-
-
Constructor Details
-
MultiArrayPointer
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.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
public void 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:
true
if the entries in the given element are also arrays, otherwisefalse
.
-
MultiArrayCopier
andMultiArrayIterator
.