public class TiledBandByte extends AbstractTiledBand implements Band.BandByte
Band.BandByte, Band.BandDouble, Band.BandFloat, Band.BandInt, Band.BandShortcolumnsInTile, columnsPerTile, data, firstColumnOfTile, firstRowOfTile, rowsInTile, rowsPerTile, tileManagerlogger| Constructor and Description |
|---|
TiledBandByte(int rows,
int columns,
NoData noData,
BandTileManager tileManager)
Default Constructor
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
createRowBuffer()
Creates an array of corresponding data type.
|
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,
byte 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
|
protected int |
getDataSize() |
int |
getDataType()
Gets the dataType.
|
byte |
getValue(int row,
int column)
Gets the corresponding value to the row and column;
|
void |
setValue(int row,
int column,
byte value)
Sets the value in the row and column;
|
calculateBufferSizeToAllocate, doCopyFrom, doCopyFrom, doDispose, getBandInfo, isPaginated, isReadOnly, loadTile, saveCurrentTileclone, copyFrom, copyFrom, dispose, fill, finalize, getAsDouble, getColumns, getNoData, getRows, 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 TiledBandByte(int rows,
int columns,
NoData noData,
BandTileManager tileManager)
rows - columns - noData - tileManager - public int getDataType()
BandBufferManager.
The data type of the band can't be changed after being created.getDataType in interface Bandprotected int getDataSize()
getDataSize in class AbstractTiledBandpublic 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 AbstractBandpublic byte getValue(int row,
int column)
Band.BandBytegetValue in interface Band.BandBytepublic void setValue(int row,
int column,
byte value)
Band.BandBytesetValue in interface Band.BandByteprotected void doSetValue(int row,
int column,
byte value)
public byte[] createRowBuffer()
BandcreateRowBuffer in interface BandcreateRowBuffer in interface Band.BandBytepublic void fetchRow(int row,
java.lang.Object rowBuffer)
Bandprotected void doPutRow(int row,
java.lang.Object rowBuffer)
doPutRow in class AbstractBand