- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for MultiInputStream (0.12 sec)
-
android/guava/src/com/google/common/io/MultiInputStream.java
@J2ktIncompatible @GwtIncompatible @ElementTypesAreNonnullByDefault final class MultiInputStream extends InputStream { private Iterator<? extends ByteSource> it; @CheckForNull private 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 { this.it = checkNotNull(it);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 28 20:13:02 UTC 2023 - 2.8K bytes - Viewed (0) -
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; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 26.2K bytes - Viewed (0)