Java 8 Funktion Lieferanten Verbraucher
@Testpublic void supplierWithOptional(){
Supplier<Double> doubleSupplier = () -> Math.random();
Optional<Double> optionalDouble = Optional.empty();
System.out.println(optionalDouble.orElseGet(doubleSupplier));}
Agreeable Anaconda