V
- The type of volume being worked onpublic interface MutableBlockVolumeWorker<V extends MutableBlockVolume> extends BlockVolumeWorker<V>
BlockVolumeWorker
but adds support for mutating the
backing volume.Modifier and Type | Method and Description |
---|---|
void |
fill(BlockVolumeFiller filler)
Applies a filler operation to the volume.
|
default void |
map(BlockVolumeMapper mapper)
Similar to
BlockVolumeWorker.map(BlockVolumeMapper,
MutableBlockVolume) but uses the operating volume as the destination. |
default void |
merge(BlockVolume right,
BlockVolumeMerger merger)
Similar to
BlockVolumeWorker.merge(BlockVolume, BlockVolumeMerger,
MutableBlockVolume) but uses the operating volume as the destination. |
default void map(BlockVolumeMapper mapper)
BlockVolumeWorker.map(BlockVolumeMapper,
MutableBlockVolume)
but uses the operating volume as the destination.
Precautions must be taken as the volume is modified while the operation
is being performed, and so the surrounding blocks might not be the
original ones.mapper
- The mapping operationdefault void merge(BlockVolume right, BlockVolumeMerger merger)
BlockVolumeWorker.merge(BlockVolume, BlockVolumeMerger,
MutableBlockVolume)
but uses the operating volume as the destination.
Precautions must be taken as the volume is modified while the operation
is being performed, and so the surrounding blocks might not be the
original ones.right
- The right-hand operand of the merge operationmerger
- The merging operationvoid fill(BlockVolumeFiller filler)
filler
- The filler operation