4 ms·
Java has had method references for almost a decade. Pattern matching also was recently released.
by vips7L 5y ago
Java has had method references for almost a decade. Pattern matching also was recently released.
- cies 5y ago> Java has had method references for almost a decade. So how can I pass a method to another method? (without using lambdas) > Pattern matching also was recently released. I know, great improvement (if it comes together with proper sum types). One less reaosn to switch to Kotlin.
- vips7L 5y agosomeObj.someMethod(Some::reference);