Package noaa.coastwatch.util.chunk
Interface ChunkVisitor
- All Known Implementing Classes:
ChunkDataAccessor
,ChunkDataFlagger
,ChunkDataModifier
,ValidChunkDetector
public interface ChunkVisitor
The
ChunkVisitor
interface is implemented by any class that
perticipates in the visitor pattern to perform operations on
DataChunk
instances.- Since:
- 3.4.0
- Author:
- Peter Hollemans
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
visitByteChunk
(ByteChunk chunk) Visits a chunk of native byte data.default void
visitDoubleChunk
(DoubleChunk chunk) Visits a chunk of native double data.default void
visitFloatChunk
(FloatChunk chunk) Visits a chunk of native float data.default void
visitIntChunk
(IntChunk chunk) Visits a chunk of native int data.default void
visitLongChunk
(LongChunk chunk) Visits a chunk of native long data.default void
visitShortChunk
(ShortChunk chunk) Visits a chunk of native short data.
-
Method Details
-
visitByteChunk
Visits a chunk of native byte data.- Parameters:
chunk
- the byte chunk to visit.
-
visitShortChunk
Visits a chunk of native short data.- Parameters:
chunk
- the short chunk to visit.
-
visitIntChunk
Visits a chunk of native int data.- Parameters:
chunk
- the int chunk to visit.
-
visitLongChunk
Visits a chunk of native long data.- Parameters:
chunk
- the long chunk to visit.
-
visitFloatChunk
Visits a chunk of native float data.- Parameters:
chunk
- the float chunk to visit.
-
visitDoubleChunk
Visits a chunk of native double data.- Parameters:
chunk
- the double chunk to visit.
-