void () { Stream<String> stream = Stream.generate(()->"x"); IntStream intStream = stream.mapToInt(t -> 1); double random = Math.random(); LongStream longStream = <warning descr="Stream has already been linked or consumed">stream</warning>.mapToLong(t -> 1L); }