public static class IndexChunker.Chunk extends java.lang.Object implements Layout.Chunk
| Constructor and Description |
|---|
Chunk(long srcElem,
int nelems,
long destElem) |
| Modifier and Type | Method and Description |
|---|---|
long |
getDestElem()
Get the position in destination where to read or write
|
int |
getNelems()
Get number of elements to transfer contiguously (Note: elements, not bytes)
|
long |
getSrcElem()
Get the position in source where to read or write
|
long |
getSrcPos()
Get the position in source where to read or write: "file position"
|
void |
incrDestElem(int incr) |
void |
incrSrcElem(int incr) |
void |
incrSrcPos(int incr) |
void |
setDestElem(long destElem) |
void |
setNelems(int nelems) |
void |
setSrcElem(long srcElem) |
void |
setSrcPos(long srcPos) |
java.lang.String |
toString() |
public long getDestElem()
getDestElem in interface Layout.Chunkpublic int getNelems()
Layout.ChunkgetNelems in interface Layout.Chunkpublic long getSrcElem()
public long getSrcPos()
Layout.ChunkgetSrcPos in interface Layout.Chunkpublic void incrDestElem(int incr)
public void incrSrcElem(int incr)
public void incrSrcPos(int incr)
public void setDestElem(long destElem)
public void setNelems(int nelems)
public void setSrcElem(long srcElem)
public void setSrcPos(long srcPos)
public java.lang.String toString()
toString in class java.lang.Object