- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for Supplier (0.14 sec)
-
build-logic/documentation/src/test/resources/org/gradle/test/Java8Interface.java
import java.io.IOException; import java.util.function.Supplier; /** * An interface that uses Java 8 source features. */ public interface Java8Interface extends CombinedInterface, JavaInterface { default String getName() { try (Writer writer = new StringWriter()) { Supplier<String> methodReference = this::toString; Supplier<String> lambda = () -> this.toString();
Java - Registered: Wed Apr 10 11:36:10 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 1.1K bytes - Viewed (0)