public class MemoryBandInt extends AbstractBand implements Band.BandInt
Band.BandByte, Band.BandDouble, Band.BandFloat, Band.BandInt, Band.BandShortlogger| Constructor and Description |
|---|
MemoryBandInt(int rows,
int columns) |
MemoryBandInt(int rows,
int columns,
NoData noData) |
| Modifier and Type | Method and Description |
|---|---|
int[] |
createRowBuffer()
Creates an array of corresponding data type.
|
protected void |
doCopyFrom(Band source) |
protected void |
doCopyFrom(Band source,
int row,
int column) |
protected void |
doFill(java.lang.Object value) |
protected void |
doPutRow(int row,
java.lang.Object rowBuffer) |
protected void |
doSet(int row,
int column,
java.lang.Object value) |
protected void |
doSetValue(int row,
int column,
int value) |
void |
fetchRow(int row,
java.lang.Object rowBuffer)
Fills the rowBuffer Object with the row.
|
java.lang.Object |
get(int row,
int column)
Gets the corresponding value to a row and column of the band
|
int |
getDataType()
Gets the dataType.
|
int |
getValue(int row,
int column)
Gets the corresponding value to the row and column;
|
void |
setValue(int row,
int column,
int value)
Sets the value in the row and column;
|
clone, copyFrom, copyFrom, dispose, doDispose, fill, finalize, getAsDouble, getBandInfo, getColumns, getNoData, getRows, isPaginated, isReadOnly, nullValueToNoData, putRow, setaddObserver, addObserver, addObservers, beginComplexNotification, clearChanged, countObservers, deleteObserver, deleteObserver, deleteObservers, disableNotifications, enableNotifications, endComplexNotification, hasChanged, inComplex, isEnabledNotifications, notify, notifyObservers, notifyObservers, setChangedequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcopyFrom, copyFrom, fill, getAsDouble, getBandInfo, getColumns, getNoData, getRows, isPaginated, isReadOnly, putRow, setclone, cloneQuietly, cloneQuietlybeginComplexNotification, disableNotifications, enableNotifications, endComplexNotificationaddObserver, deleteObserver, deleteObserversdisposepublic MemoryBandInt(int rows,
int columns)
rows - columns - public MemoryBandInt(int rows,
int columns,
NoData noData)
rows - columns - noData - public int getDataType()
BandBufferManager.
The data type of the band can't be changed after being created.getDataType in interface Bandpublic java.lang.Object get(int row,
int column)
Bandprotected void doSet(int row,
int column,
java.lang.Object value)
doSet in class AbstractBandprotected void doFill(java.lang.Object value)
doFill in class AbstractBandprotected void doCopyFrom(Band source) throws CopyFromBandException
doCopyFrom in class AbstractBandCopyFromBandExceptionprotected void doCopyFrom(Band source, int row, int column) throws CopyFromBandException
doCopyFrom in class AbstractBandCopyFromBandExceptionpublic int getValue(int row,
int column)
Band.BandIntgetValue in interface Band.BandIntpublic void setValue(int row,
int column,
int value)
Band.BandIntsetValue in interface Band.BandIntprotected void doSetValue(int row,
int column,
int value)
public int[] createRowBuffer()
BandcreateRowBuffer in interface BandcreateRowBuffer in interface Band.BandIntpublic void fetchRow(int row,
java.lang.Object rowBuffer)
Bandprotected void doPutRow(int row,
java.lang.Object rowBuffer)
doPutRow in class AbstractBand