package p;

import java.util.function.*;
import java.util.Iterator;
import java.util.stream.Collector;

public class Stream<T> {

    public Iterator<T> iterator() {
        return null;
    }

    public boolean allMatch(Predicate<? super T> predicate) {
        throw null;
    }

    public <R> R collect(Supplier<R> supplier, BiConsumer<R, ? super T> accumulator, BiConsumer<R, R> combiner) {
        throw null;
    }

    // Collector is not a functional interface, so this is not supported
    // public <R, A> R collect(Collector<? super T, A, R> collector) {
    // throw null;
    // }

    // public static <T> Stream<T> concat(Stream<? extends T> a, Stream<? extends T>
    // b) {
    // throw null;
    // }

    public Stream<T> distinct() {
        throw null;
    }
}
@@ -589,27 +589,24 @@
    // %7D%0A%0A   
- //
  public stat
@@ -671,23 +671,16 @@
 tends T%3E
-%0A    //
  b) %7B%0A  
@@ -673,34 +673,35 @@
 nds T%3E b) %7B%0A    
+ 
-//
+  
  throw null;%0A   
@@ -692,35 +692,32 @@
  throw null;%0A   
- //
  %7D%0A%0A    public S

Add stream concat example.