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;
    // }

    // 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;
    }
}
@@ -186,27 +186,24 @@
 ;%0A    %7D%0A%0A   
- //
  public bool
@@ -245,34 +245,35 @@
 redicate) %7B%0A    
-//
+   
  throw null;%0A   
@@ -268,37 +268,31 @@
 ow null;%0A   
- //
  %7D%0A%0A   
- //
  public %3CR%3E 
@@ -347,23 +347,16 @@
 super T%3E
-%0A    //
  accumul
@@ -386,34 +386,35 @@
 combiner) %7B%0A    
-//
+   
  throw null;%0A   
@@ -406,37 +406,107 @@
 throw null;%0A    
-// %7D%0A
+%7D%0A%0A    // Collector is not a functional interface, so this is not supported
 %0A    // public %3C

Add stream example methods using wildcards.