Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 49 of 49 for computeNext (0.09 seconds)

  1. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

              private final Iterator<Map.Entry<E, AtomicInteger>> mapEntries =
                  countMap.entrySet().iterator();
    
              @Override
              protected @Nullable Entry<E> computeNext() {
                while (true) {
                  if (!mapEntries.hasNext()) {
                    return endOfData();
                  }
                  Map.Entry<E, AtomicInteger> mapEntry = mapEntries.next();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/ConcurrentHashMultiset.java

              private final Iterator<Map.Entry<E, AtomicInteger>> mapEntries =
                  countMap.entrySet().iterator();
    
              @Override
              protected @Nullable Entry<E> computeNext() {
                while (true) {
                  if (!mapEntries.hasNext()) {
                    return endOfData();
                  }
                  Map.Entry<E, AtomicInteger> mapEntry = mapEntries.next();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  3. guava/src/com/google/common/base/Splitter.java

          this.omitEmptyStrings = splitter.omitEmptyStrings;
          this.limit = splitter.limit;
          this.toSplit = toSplit;
        }
    
        @Override
        protected @Nullable String computeNext() {
          /*
           * The returned string will be from the end of the last match to the beginning of the next
           * one. nextStart is the start position of the returned substring, while offset is the place
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 23.8K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/io/CharSource.java

          return new AbstractIterator<String>() {
            final Iterator<String> lines = LINE_SPLITTER.split(seq).iterator();
    
            @Override
            protected @Nullable String computeNext() {
              if (lines.hasNext()) {
                String next = lines.next();
                // skip last line if it's empty
                if (lines.hasNext() || !next.isEmpty()) {
                  return next;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 25.7K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/base/Splitter.java

          this.omitEmptyStrings = splitter.omitEmptyStrings;
          this.limit = splitter.limit;
          this.toSplit = toSplit;
        }
    
        @Override
        protected @Nullable String computeNext() {
          /*
           * The returned string will be from the end of the last match to the beginning of the next
           * one. nextStart is the start position of the returned substring, while offset is the place
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 23.8K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/Iterators.java

          Iterator<T> unfiltered, Predicate<? super T> retainIfTrue) {
        checkNotNull(unfiltered);
        checkNotNull(retainIfTrue);
        return new AbstractIterator<T>() {
          @Override
          protected @Nullable T computeNext() {
            while (unfiltered.hasNext()) {
              T element = unfiltered.next();
              if (retainIfTrue.apply(element)) {
                return element;
              }
            }
            return endOfData();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 12:42:11 GMT 2025
    - 51.4K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/Iterators.java

          Iterator<T> unfiltered, Predicate<? super T> retainIfTrue) {
        checkNotNull(unfiltered);
        checkNotNull(retainIfTrue);
        return new AbstractIterator<T>() {
          @Override
          protected @Nullable T computeNext() {
            while (unfiltered.hasNext()) {
              T element = unfiltered.next();
              if (retainIfTrue.apply(element)) {
                return element;
              }
            }
            return endOfData();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 12:42:11 GMT 2025
    - 51.4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/cache/LocalCache.java

        @Override
        public Iterator<ReferenceEntry<K, V>> iterator() {
          return new AbstractSequentialIterator<ReferenceEntry<K, V>>(peek()) {
            @Override
            protected @Nullable ReferenceEntry<K, V> computeNext(ReferenceEntry<K, V> previous) {
              ReferenceEntry<K, V> next = previous.getNextInWriteQueue();
              return (next == head) ? null : next;
            }
          };
        }
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 143.5K bytes
    - Click Count (0)
  9. guava/src/com/google/common/cache/LocalCache.java

        @Override
        public Iterator<ReferenceEntry<K, V>> iterator() {
          return new AbstractSequentialIterator<ReferenceEntry<K, V>>(peek()) {
            @Override
            protected @Nullable ReferenceEntry<K, V> computeNext(ReferenceEntry<K, V> previous) {
              ReferenceEntry<K, V> next = previous.getNextInWriteQueue();
              return (next == head) ? null : next;
            }
          };
        }
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 148.9K bytes
    - Click Count (0)
Back to Top