Java tutorial
import java.util.function.LongSupplier; public class Main { public static void main(String[] args) { LongSupplier i = () -> Long.MAX_VALUE; System.out.println(i.getAsLong()); } }