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.

@FunctionalInterface public interface OffsettedScalarTwoDimensionalConsumer<E extends Exception>
Like a ScalarTwoDimensionalConsumer but accepts two coordinates of a point and an offset value.
Author:
Owen Feehan
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(int x, int y, int offset)
    Accepts a point
  • Method Details

    • accept

      void accept(int x, int y, int offset) throws E
      Accepts a point
      Parameters:
      x - local x coordinate during iteration
      y - local y coordinate during iteration
      offset - offset based on current x and y values
      Throws:
      E