package de.is24.deadcode4j.java8;

import java.util.HashSet;
import java.util.function.Supplier;

public class Lambda {
    private static <T> T get(Supplier<T> supplier) {
        return supplier.get();
    }
    public static void main(String[] args) {
        System.out.println(get(HashSet<String>::new));
    }
}
@@ -75,25 +75,21 @@
 til.
-function.Supplier
+stream.Stream
 ;%0A%0Ap
@@ -113,98 +113,8 @@
 a %7B%0A
-    private static %3CT%3E T get(Supplier%3CT%3E supplier) %7B%0A        return supplier.get();%0A    %7D%0A
     
@@ -185,11 +185,23 @@
 tln(
-get
+Stream.generate
 (Has

use available methods