Class ChunkDataCopier

java.lang.Object
noaa.coastwatch.util.chunk.ChunkDataCopier

public class ChunkDataCopier extends Object
The ChunkDataCopier class copies raw data values between DataChunk instances.
Since:
3.5.0
Author:
Peter Hollemans
  • Constructor Details

    • ChunkDataCopier

      public ChunkDataCopier()
  • Method Details

    • copyValue

      public void copyValue(DataChunk sourceChunk, int sourceIndex, DataChunk destChunk, int destIndex)
      Copies a raw data value from a source to a destination chunk. The chunks must be compatible.
      Parameters:
      sourceChunk - the data source chunk.
      sourceIndex - the index of the value in the source chunk.
      destChunk - the data destination chunk.
      destIndex - the index of the value in the destination chunk.