@FunctionalInterface public interface Fn3<A,B,C,R>
Modifier and Type | Method and Description |
---|---|
default R |
apply(A a,
B b,
C c)
The class that takes a consumer as an argument uses this convenience method so that it
doesn't have to worry about checked exceptions either.
|
R |
applyEx(A a,
B b,
C c)
Implement this one method and you don't have to worry about checked exceptions.
|
static <A,B,C,Z> Fn3<A,B,C,Z> |
memoize(Fn3<A,B,C,Z> f)
Use only on pure functions with no side effects.
|
R applyEx(A a, B b, C c) throws Exception
Exception
default R apply(A a, B b, C c)
static <A,B,C,Z> Fn3<A,B,C,Z> memoize(Fn3<A,B,C,Z> f)
Copyright © 2017. All rights reserved.