T - The first argument typeU - The second argument typeR - The result typepublic final class CachingBiFunction<T,U,R> extends Object implements BiFunction<T,U,R>
| Constructor and Description |
|---|
CachingBiFunction(BiFunction<T,U,R> delegate)
Creates a new caching BiFunction with the given delegate
|
| Modifier and Type | Method and Description |
|---|---|
R |
apply(T t,
U u) |
void |
clear()
Clear the internal cache
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitandThenpublic CachingBiFunction(BiFunction<T,U,R> delegate)
delegate - The delegateNullPointerException - If the delegate is nullCopyright © 2020. All rights reserved.