Class UncheckedIOBaseStream<T,​S extends IOBaseStream<T,​S,​B>,​B extends java.util.stream.BaseStream<T,​B>>

  • Type Parameters:
    T - the type of the stream elements.
    S - the type of the IO stream extending IOBaseStream.
    B - the type of the stream extending BaseStream.
    All Implemented Interfaces:
    java.lang.AutoCloseable, java.util.stream.BaseStream<T,​B>

    class UncheckedIOBaseStream<T,​S extends IOBaseStream<T,​S,​B>,​B extends java.util.stream.BaseStream<T,​B>>
    extends java.lang.Object
    implements java.util.stream.BaseStream<T,​B>
    An BaseStream for a IOBaseStream that throws UncheckedIOException instead of IOException. Keep package-private for now.
    • Constructor Detail

      • UncheckedIOBaseStream

        UncheckedIOBaseStream​(S delegate)
    • Method Detail

      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.util.stream.BaseStream<T,​S extends IOBaseStream<T,​S,​B>>
      • isParallel

        public boolean isParallel()
        Specified by:
        isParallel in interface java.util.stream.BaseStream<T,​S extends IOBaseStream<T,​S,​B>>
      • iterator

        public java.util.Iterator<T> iterator()
        Specified by:
        iterator in interface java.util.stream.BaseStream<T,​S extends IOBaseStream<T,​S,​B>>
      • onClose

        public B onClose​(java.lang.Runnable closeHandler)
        Specified by:
        onClose in interface java.util.stream.BaseStream<T,​S extends IOBaseStream<T,​S,​B>>
      • parallel

        public B parallel()
        Specified by:
        parallel in interface java.util.stream.BaseStream<T,​S extends IOBaseStream<T,​S,​B>>
      • sequential

        public B sequential()
        Specified by:
        sequential in interface java.util.stream.BaseStream<T,​S extends IOBaseStream<T,​S,​B>>
      • spliterator

        public java.util.Spliterator<T> spliterator()
        Specified by:
        spliterator in interface java.util.stream.BaseStream<T,​S extends IOBaseStream<T,​S,​B>>
      • unordered

        public B unordered()
        Specified by:
        unordered in interface java.util.stream.BaseStream<T,​S extends IOBaseStream<T,​S,​B>>