Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for MultiReader (0.34 sec)

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

    /**
     * A {@link Reader} that concatenates multiple readers.
     *
     * @author Bin Zhu
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    final class MultiReader extends Reader {
      private final Iterator<? extends CharSource> it;
      private @Nullable Reader current;
    
      MultiReader(Iterator<? extends CharSource> readers) throws IOException {
        this.it = readers;
        advance();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:37:28 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/CharSource.java

        ConcatenatedCharSource(Iterable<? extends CharSource> sources) {
          this.sources = checkNotNull(sources);
        }
    
        @Override
        public Reader openStream() throws IOException {
          return new MultiReader(sources.iterator());
        }
    
        @Override
        public boolean isEmpty() throws IOException {
          for (CharSource source : sources) {
            if (!source.isEmpty()) {
              return false;
            }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/CharSource.java

        ConcatenatedCharSource(Iterable<? extends CharSource> sources) {
          this.sources = checkNotNull(sources);
        }
    
        @Override
        public Reader openStream() throws IOException {
          return new MultiReader(sources.iterator());
        }
    
        @Override
        public boolean isEmpty() throws IOException {
          for (CharSource source : sources) {
            if (!source.isEmpty()) {
              return false;
            }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.3K bytes
    - Viewed (0)
Back to top