Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for endOfData (0.06 sec)

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

            protected @Nullable Entry<Cut<C>, Range<C>> computeNext() {
              if (!backingItr.hasNext()) {
                return endOfData();
              }
              Range<C> range = backingItr.next();
              if (upperBoundWindow.upperBound.isLessThan(range.upperBound)) {
                return endOfData();
              } else {
                return immutableEntry(range.upperBound, range);
              }
            }
          };
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 32.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

                switch (rep++) {
                  case 0:
                    return 0;
                  case 1:
                    return 1;
                  case 2:
                    return endOfData();
                  default:
                    throw new AssertionError("Should not have been invoked again");
                }
              }
            };
    
        assertTrue(iter.hasNext());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

                    boolean added = seenNodes.add(nodeConnection.node);
                    if (added) {
                      return nodeConnection.node;
                    }
                  }
                  return endOfData();
                }
              };
            }
    
            @Override
            public int size() {
              return adjacentNodeValues.size();
            }
    
            @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/graph/EndpointPairIterator.java

              return EndpointPair.ordered(requireNonNull(node), successorIterator.next());
            }
            if (!advance()) {
              return endOfData();
            }
          }
        }
      }
    
      /**
       * If the graph is undirected, each unordered [node, otherNode] pair (except self-loops) will be
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. 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;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. 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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 22.8K bytes
    - Viewed (0)
  7. 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;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. 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")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/FilteredEntryMultimap.java

                    if (!collection.isEmpty()) {
                      return immutableEntry(key, collection);
                    }
                  }
                  return endOfData();
                }
              };
            }
    
            @Override
            public boolean removeAll(Collection<?> c) {
              return removeEntriesIf(in(c));
            }
    
            @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/StandardTable.java

                        entry.getValue().put(columnKey, checkNotNull(value)));
                  }
                }
                return new EntryImpl();
              }
            }
            return endOfData();
          }
        }
    
        @Override
        Set<R> createKeySet() {
          return new KeySet();
        }
    
        @WeakOuter
        private final class KeySet extends Maps.KeySet<R, V> {
          KeySet() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 30.2K bytes
    - Viewed (0)
Back to top