|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectucar.nc2.iosp.IndexChunker.Chunk
public static class IndexChunker.Chunk
A chunk of data that is contiguous in both the source and destination. Everything is done in elements, not bytes. Read nelems from src at srcPos, store in destination at destPos.
Constructor Summary | |
---|---|
IndexChunker.Chunk(long srcElem,
int nelems,
long destElem)
|
Method Summary | |
---|---|
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)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IndexChunker.Chunk(long srcElem, int nelems, long destElem)
Method Detail |
---|
public long getSrcElem()
public void setSrcElem(long srcElem)
public void incrSrcElem(int incr)
public int getNelems()
Layout.Chunk
getNelems
in interface Layout.Chunk
public void setNelems(int nelems)
public long getDestElem()
getDestElem
in interface Layout.Chunk
public void setDestElem(long destElem)
public void incrDestElem(int incr)
public String toString()
toString
in class Object
public long getSrcPos()
Layout.Chunk
getSrcPos
in interface Layout.Chunk
public void setSrcPos(long srcPos)
public void incrSrcPos(int incr)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |