// "Merge the 'flatMap()' step with the previous 'map()' step" "true"
import java.util.function.Function;
import java.util.stream.Stream;

class Flat {
  public static Stream<SomeClazz> main(Stream<Stream<SomeClazz>> objectStreams) {
    return objectStreams.map(Stream::distinct).flatMap<caret>(Function.identity());
  }
  private static class SomeClazz {
  }
}