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 Details

    • visitByteChunk

      default void visitByteChunk(ByteChunk chunk)
      Visits a chunk of native byte data.
      Parameters:
      chunk - the byte chunk to visit.
    • visitShortChunk

      default void visitShortChunk(ShortChunk chunk)
      Visits a chunk of native short data.
      Parameters:
      chunk - the short chunk to visit.
    • visitIntChunk

      default void visitIntChunk(IntChunk chunk)
      Visits a chunk of native int data.
      Parameters:
      chunk - the int chunk to visit.
    • visitLongChunk

      default void visitLongChunk(LongChunk chunk)
      Visits a chunk of native long data.
      Parameters:
      chunk - the long chunk to visit.
    • visitFloatChunk

      default void visitFloatChunk(FloatChunk chunk)
      Visits a chunk of native float data.
      Parameters:
      chunk - the float chunk to visit.
    • visitDoubleChunk

      default void visitDoubleChunk(DoubleChunk chunk)
      Visits a chunk of native double data.
      Parameters:
      chunk - the double chunk to visit.