Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for MultiInputStream (0.06 seconds)

  1. android/guava/src/com/google/common/io/MultiInputStream.java

     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    final class MultiInputStream extends InputStream {
    
      private final Iterator<? extends ByteSource> it;
      private @Nullable InputStream in;
    
      /**
       * Creates a new instance.
       *
       * @param it an iterator of I/O suppliers that will provide each substream
       */
      public MultiInputStream(Iterator<? extends ByteSource> it) throws IOException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/io/ByteSource.java

        ConcatenatedByteSource(Iterable<? extends ByteSource> sources) {
          this.sources = checkNotNull(sources);
        }
    
        @Override
        public InputStream openStream() throws IOException {
          return new MultiInputStream(sources.iterator());
        }
    
        @Override
        public boolean isEmpty() throws IOException {
          for (ByteSource source : sources) {
            if (!source.isEmpty()) {
              return false;
            }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 25.7K bytes
    - Click Count (0)
Back to Top