|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectWritableGridArray.Integer
appl.parallel.data.WritableGridArrayPartition.Integer
public static class WritableGridArrayPartition.Integer
For Integer data types
WritableGridArray.Integer
Constructor Summary | |
---|---|
WritableGridArrayPartition.Integer(RasterMetaData metaData,
int rootID,
Rectangle thisPartition)
|
Method Summary | |
---|---|
DataPartition |
getEmpty(int id)
Creates an empty Object with the given id. |
DataPartition |
getPartition(Rectangle partitionBounds)
Returns the partition specified by the given Rectangle . |
Rectangle |
getPartitionBounds()
Returns the bounds of the partition as a rectangle. |
int |
getRootID()
Returns the id of the super data structure this partition is a part of. |
void |
setPartition(DataPartition partition,
Rectangle partitionBounds)
Overwrites the data at the location specified by the Rectangle with
the given partition-data. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WritableGridArrayPartition.Integer(RasterMetaData metaData, int rootID, Rectangle thisPartition)
Method Detail |
---|
public Rectangle getPartitionBounds()
DataPartition
getPartitionBounds
in interface DataPartition
public DataPartition getPartition(Rectangle partitionBounds)
DataPartition
Rectangle
. Note, that
partitioning by a rectangle does not mean, that the underlying datastructure
has to be 2D, but only that the splitting has to be at max. 2D.
getPartition
in interface DataPartition
partitionBounds
- the bounds of the partition which are to be retrieved
in global coordinates (the coordinates should be relative to the root-structure)public int getRootID()
DataPartition
getRootID
in interface DataPartition
public void setPartition(DataPartition partition, Rectangle partitionBounds)
DataPartition
Rectangle
with
the given partition-data.
setPartition
in interface DataPartition
partition
- the new datapartitionBounds
- the target location of the data (in coordinates of the root structure)public DataPartition getEmpty(int id)
DataPartition
getEmpty
in interface DataPartition
id
- the id of the new Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |