Interface ShapeFunction

All Superinterfaces:
com.github.tadukoo.util.functional.function.ThrowingFunction4<Integer,Integer,Integer,Integer,Shape,com.github.tadukoo.util.functional.NoException>
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 ShapeFunction extends com.github.tadukoo.util.functional.function.ThrowingFunction4<Integer,Integer,Integer,Integer,Shape,com.github.tadukoo.util.functional.NoException>
It's a ThrowingFunction4 that throws NoException (just a way to avoid throwing stuff), takes in 4 integers (which should be x, y, width, and height), and returns a Shape. This interface exists solely as shorthand for using the long ThrowingFunction4 name.
Version:
Alpha v.0.2
Author:
Logan Ferree (Tadukoo)
  • Method Summary

    Methods inherited from interface com.github.tadukoo.util.functional.function.ThrowingFunction4

    andThen, apply