- All Implemented Interfaces:
Function<F,T>
- Enclosing class:
- Underscore<T>
public abstract static class Underscore.MemoizeFunction<F,T>
extends Object
implements Function<F,T>
-
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
cache
private final Map<F,T> cache
-
Constructor Details
-
MemoizeFunction
public MemoizeFunction()
-
Method Details
-
calc
public abstract T calc(F n)
-