Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for MultiInputStream (0.07 sec)

  1. android/guava-tests/test/com/google/common/io/MultiInputStreamTest.java

        assertEquals(20, total);
      }
    
      @SuppressWarnings("CheckReturnValue") // these calls to skip always return 0
      public void testSkip() throws Exception {
        MultiInputStream multi =
            new MultiInputStream(
                Collections.singleton(
                        new ByteSource() {
                          @Override
                          public InputStream openStream() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/MultiInputStreamTest.java

        assertEquals(20, total);
      }
    
      @SuppressWarnings("CheckReturnValue") // these calls to skip always return 0
      public void testSkip() throws Exception {
        MultiInputStream multi =
            new MultiInputStream(
                Collections.singleton(
                        new ByteSource() {
                          @Override
                          public InputStream openStream() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  3. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 08 18:35:13 UTC 2025
    - 25.7K bytes
    - Viewed (0)
Back to top