I need an interface like:
interface Function<X,Y> {
Y eval(X obj);
}
Is there something like this in Java already or do I need to define my own?
I need an interface like:
interface Function<X,Y> {
Y eval(X obj);
}
Is there something like this in Java already or do I need to define my own?