public virtual void coverage()
 {
     MapStream.empty().filter(e => false).distinct().sorted().sorted((e1, e2) => 0).peek(e => e.ToString()).limit(0).skip(0).sequential().parallel().unordered().onClose(() => Console.WriteLine()).close();
     MapStream.empty().anyMatch(e => true);
     MapStream.empty().allMatch(e => true);
     MapStream.empty().noneMatch(e => true);
     MapStream.empty().count();
     MapStream.empty().findAny();
     MapStream.empty().findFirst();
     MapStream.empty().max((e1, e2) => 0);
     MapStream.empty().min((e1, e2) => 0);
     MapStream.empty().GetEnumerator();
     MapStream.empty().spliterator();
     MapStream.empty().Parallel;
     MapStream.empty().map(e => e);
     MapStream.empty().mapToInt(e => 0);
     MapStream.empty().mapToLong(e => 0);
     MapStream.empty().mapToDouble(e => 0);
     MapStream.empty().flatMap(e => Stream.empty());
     MapStream.empty().flatMapToDouble(e => DoubleStream.empty());
     MapStream.empty().flatMapToInt(e => IntStream.empty());
     MapStream.empty().flatMapToLong(e => LongStream.empty());
     MapStream.empty().collect(toList());
     MapStream.empty().collect(() => null, (o, e) => Console.WriteLine(), (o1, o2) => Console.WriteLine());
     MapStream.empty().toArray();
     MapStream.empty().toArray(i => new object[0]);
     MapStream.empty().forEach(e => Console.WriteLine());
     MapStream.empty().forEachOrdered(e => Console.WriteLine());
     MapStream.empty().reduce(new AbstractMap.SimpleEntry <>(null, null), (o1, o2) => null);
     MapStream.empty().reduce((o1, o2) => null);
     MapStream.empty().reduce(null, (o, e) => null, (o1, o2) => null);
 }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @SuppressWarnings("unchecked") public static java.util.stream.IntStream toBooleanStream(Object list)
        public static IntStream ToBooleanStream(object list)
        {
            if (list == null)
            {
                return(IntStream.empty());
            }
            else if (list is SequenceValue)
            {
                throw new System.ArgumentException("Need to implement support for SequenceValue in CompiledConversionUtils.toBooleanStream");
            }
            else if (list is System.Collections.IList)
            {
                return(((System.Collections.IList)list).Select(n => (( Number )n).intValue()));
            }
            else if (list.GetType().IsAssignableFrom(typeof(object[])))
            {
                return(java.util.( object[] )list.Select(n => (( Number )n).intValue()));
            }
            else if (list is bool[])
            {
                bool[] array = ( bool[] )list;
                return(IntStream.range(0, array.Length).map(i => (array[i]) ? 1 : 0));
            }
//JAVA TO C# CONVERTER WARNING: The .NET Type.FullName property will not always yield results identical to the Java Class.getName method:
            throw new System.ArgumentException(format("Can not be converted to stream: %s", list.GetType().FullName));
        }
 public virtual void test_of_stream()
 {
     assertContent(IntArray.of(IntStream.empty()));
     assertContent(IntArray.of(IntStream.of(1, 2, 3)), 1, 2, 3);
 }