Is there any Map like
MAP < String, FunctionMethod >
library in Java? No, there isn't. Then any external or open source library available?
Is there any Map like
MAP < String, FunctionMethod >
library in Java? No, there isn't. Then any external or open source library available?
I am curious if you are looking for something like guava's MapMaker's makeComputingMap. It takes a (com.google.common.base.)Function that computes the value. I use it in web apps to implement lazy, cached key-value pairs. What do you mean by "FunctionMethod"?