public class ChunkPosition
extends java.lang.Object
ChunkPosition
class marks a position within a
ChunkingScheme
. The position is specified by its starting
location and length along each dimension.Modifier and Type | Field and Description |
---|---|
long[] |
length
The length of the chunk along each dimension.
|
long[] |
start
The start coordinates of the chunk within the chunk space.
|
Constructor and Description |
---|
ChunkPosition(int rank)
Creates a new position with start and length initialized to
zero along each dimension.
|
Modifier and Type | Method and Description |
---|---|
ChunkPosition |
clone() |
java.lang.String |
toString() |
public long[] start
public long[] length
public ChunkPosition(int rank)
rank
- the number of dimensions of the chunk space.public ChunkPosition clone()
clone
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object