FIRST
- The type of the first input parameter.SECOND
- The type of the second input parameter.KEY
- The type of the key to use for memoization.VALUE
- The type of the value to calculate.public interface MemoizingBiFunction<FIRST,SECOND,KEY,VALUE> extends BiFunction<FIRST,SECOND,VALUE>
Modifier and Type | Method and Description |
---|---|
default VALUE |
apply(FIRST first,
SECOND second) |
BiFunction<FIRST,SECOND,VALUE> |
getBiFunction() |
BiFunction<FIRST,SECOND,KEY> |
getKeyFunction() |
BiFunction<KEY,Function<KEY,VALUE>,VALUE> |
getMemoizingFunction() |
andThen
BiFunction<FIRST,SECOND,KEY> getKeyFunction()
BiFunction<KEY,Function<KEY,VALUE>,VALUE> getMemoizingFunction()
BiFunction
that controls how to memoize the actual BiFunction
.BiFunction<FIRST,SECOND,VALUE> getBiFunction()
BiFunction
to wrap/memoize.Copyright © 2016 metio.wtf. All rights reserved.