Core concept
@FunctionalInterface
interface Transform { R apply(T t); } Advertisement
How it works
Default methods allowed. inherit from Object allowed.
Advertisement
Trade-offs + gotchas
Callback + strategy patterns.
@FunctionalInterface
interface Transform { R apply(T t); } Default methods allowed. inherit from Object allowed.
Callback + strategy patterns.