Interface OffsettedScalarTwoDimensionalConsumer<E extends Exception>
- Type Parameters:
E
- a checked-exception that can be thrown during consumption
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Like a
ScalarTwoDimensionalConsumer
but accepts two coordinates of a point and an offset
value.- Author:
- Owen Feehan
-
Method Summary
-
Method Details
-
accept
void accept(int x, int y, int offset) throws E Accepts a point- Parameters:
x
- local x coordinate during iterationy
- local y coordinate during iterationoffset
- offset based on current x and y values- Throws:
E
-