Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 42 for endOfData (0.06 seconds)

  1. android/guava/src/com/google/common/base/AbstractIterator.java

        READY,
        NOT_READY,
        DONE,
        FAILED,
      }
    
      private @Nullable T next;
    
      protected abstract @Nullable T computeNext();
    
      @CanIgnoreReturnValue
      protected final @Nullable T endOfData() {
        state = State.DONE;
        return null;
      }
    
      @Override
      public final boolean hasNext() {
        checkState(state != State.FAILED);
        switch (state) {
          case DONE:
            return false;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/TreeRangeMap.java

                    if (entry.getUpperBound().compareTo(subRange.lowerBound) <= 0) {
                      return endOfData();
                    }
                    return immutableEntry(entry.getKey().intersection(subRange), entry.getValue());
                  }
                  return endOfData();
                }
              };
            }
          };
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  3. guava/src/com/google/common/base/AbstractIterator.java

        READY,
        NOT_READY,
        DONE,
        FAILED,
      }
    
      private @Nullable T next;
    
      protected abstract @Nullable T computeNext();
    
      @CanIgnoreReturnValue
      protected final @Nullable T endOfData() {
        state = State.DONE;
        return null;
      }
    
      @Override
      public final boolean hasNext() {
        checkState(state != State.FAILED);
        switch (state) {
          case DONE:
            return false;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/ConsumingQueueIterator.java

      }
    
      @Override
      protected @Nullable T computeNext() {
        // TODO(b/192579700): Use a ternary once it no longer confuses our nullness checker.
        if (queue.isEmpty()) {
          return endOfData();
        }
        return queue.remove();
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/graph/MultiEdgesConnecting.java

            while (entries.hasNext()) {
              Entry<E, ?> entry = entries.next();
              if (targetNode.equals(entry.getValue())) {
                return entry.getKey();
              }
            }
            return endOfData();
          }
        };
      }
    
      @Override
      public boolean contains(@Nullable Object edge) {
        return targetNode.equals(outEdgeToNode.get(edge));
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/Multisets.java

                  E element = entry2.getElement();
                  if (!multiset1.contains(element)) {
                    return immutableEntry(element, entry2.getCount());
                  }
                }
                return endOfData();
              }
            };
          }
        };
      }
    
      /**
       * Returns an unmodifiable view of the intersection of two multisets. In the returned multiset,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 41.3K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/Multisets.java

                  E element = entry2.getElement();
                  if (!multiset1.contains(element)) {
                    return immutableEntry(element, entry2.getCount());
                  }
                }
                return endOfData();
              }
            };
          }
        };
      }
    
      /**
       * Returns an unmodifiable view of the intersection of two multisets. In the returned multiset,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 41.2K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/DenseImmutableTable.java

                V value = getValue(index);
                if (value != null) {
                  return immutableEntry(getKey(index), value);
                }
              }
              return endOfData();
            }
          };
        }
    
        // redeclare to help optimizers with b/310253115
        @SuppressWarnings("RedundantOverride")
        @J2ktIncompatible // serialization
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/Collections2.java

          this.nextPermutation = new ArrayList<>(list);
          this.comparator = comparator;
        }
    
        @Override
        protected @Nullable List<E> computeNext() {
          if (nextPermutation == null) {
            return endOfData();
          }
          ImmutableList<E> next = ImmutableList.copyOf(nextPermutation);
          calculateNextPermutation();
          return next;
        }
    
        void calculateNextPermutation() {
          int j = findNextJ();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

              while (!elemItr.hasNext()) {
                if (rangeItr.hasNext()) {
                  elemItr = ContiguousSet.create(rangeItr.next(), domain).iterator();
                } else {
                  return endOfData();
                }
              }
              return elemItr.next();
            }
          };
        }
    
        @Override
        @GwtIncompatible // NavigableSet
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 27.5K bytes
    - Click Count (0)
Back to Top