Interface BufferRetriever
- All Known Implementing Classes:
LocalSlices
public interface BufferRetriever
Retrieves a buffer corresponding to a relative index in the z-dimension.
- Author:
- Owen Feehan
-
Method Summary
Modifier and TypeMethodDescriptiongetLocal
(int relativeZIndex) Get a buffer at a particular index in the z-dimension.
-
Method Details
-
getLocal
Get a buffer at a particular index in the z-dimension.The index is relative to a current position e.g.
-1, -2, +1, +2
etc.If an invalid index is requested, then
Optional.empty()
is returned.- Parameters:
relativeZIndex
- the shift in the z index relative to the current z-slice's index- Returns:
- the buffer corresponding to the z-index, if it exists.
-