Class TransferType<T extends Buffer>

Type Parameters:
T - the type of buffer which can be used for transferring data.
All Implemented Interfaces:

public final class TransferType<T extends Buffer> extends Object implements Serializable
The type of data used to transfer pixels. Data transfers happen in various Raster methods and in Pixel­Iterator​.create­Window(Transfer­Type). The type used for transferring data is not necessarily the same than the type used by the raster for storing data. In particular, byte and short (both signed and unsigned) are converted to int during the transfer.

Raster and Pixel­Iterator transfer data in int[], float[] and double[] arrays. Additionally, Pixel­Iterator uses also Int­Buffer, Float­Buffer and Double­Buffer.

Future evolution: this class may be refactored as an enumeration in a future Java version if JEP 301 is implemented.
See Also:

Defined in the sis-feature module