Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 503 for Iterators (0.06 sec)

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

     *
     * <p>The view collections of the returned map have <i>weakly consistent iterators</i>. This means
     * that they are safe for concurrent use, but if other threads modify the map after the iterator is
     * created, it is undefined which of these changes, if any, are reflected in that iterator. These
     * iterators never throw {@link ConcurrentModificationException}.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ForwardingNavigableMap.java

      /**
       * A sensible definition of {@link #pollFirstEntry} in terms of the {@code iterator} of {@code
       * entrySet}. If you override {@code entrySet}, you may wish to override {@code pollFirstEntry} to
       * forward to this implementation.
       */
      protected @Nullable Entry<K, V> standardPollFirstEntry() {
        return Iterators.pollNext(entrySet().iterator());
      }
    
      @Override
      public @Nullable Entry<K, V> pollLastEntry() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ForwardingNavigableMap.java

      /**
       * A sensible definition of {@link #pollFirstEntry} in terms of the {@code iterator} of {@code
       * entrySet}. If you override {@code entrySet}, you may wish to override {@code pollFirstEntry} to
       * forward to this implementation.
       */
      protected @Nullable Entry<K, V> standardPollFirstEntry() {
        return Iterators.pollNext(entrySet().iterator());
      }
    
      @Override
      public @Nullable Entry<K, V> pollLastEntry() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/AbstractTable.java

        return (row == null) ? null : safeGet(row, columnKey);
      }
    
      @Override
      public boolean isEmpty() {
        return size() == 0;
      }
    
      @Override
      public void clear() {
        Iterators.clear(cellSet().iterator());
      }
    
      @CanIgnoreReturnValue
      @Override
      public @Nullable V remove(@Nullable Object rowKey, @Nullable Object columnKey) {
        Map<C, V> row = safeGet(rowMap(), rowKey);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

        Iterator<String> iterator = asList("a", "b", "a").iterator();
        Multiset<String> multiset = ImmutableMultiset.copyOf(iterator);
        assertEquals(HashMultiset.create(asList("a", "b", "a")), multiset);
      }
    
      public void testCopyOf_iteratorContainingNull() {
        Iterator<@Nullable String> iterator =
            Arrays.<@Nullable String>asList("a", null, "b").iterator();
        assertThrows(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

        if (size > 0) {
          assertFalse(collection.isEmpty());
        } else {
          assertTrue(collection.isEmpty());
        }
        assertEquals(size, Iterables.size(collection));
        assertEquals(size, Iterators.size(collection.iterator()));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/Cache.java

       * the map directly affect the cache.
       *
       * <p>Iterators from the returned map are at least <i>weakly consistent</i>: they are safe for
       * concurrent use, but if the cache is modified (including by eviction) after the iterator is
       * created, it is undefined which of the changes (if any) will be reflected in that iterator.
       */
      ConcurrentMap<K, V> asMap();
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/HashBasedTable.java

     * order of the various views.
     *
     * <p>The views returned by {@link #column}, {@link #columnKeySet()}, and {@link #columnMap()} have
     * iterators that don't support {@code remove()}. Otherwise, all optional operations are supported.
     * Null row keys, columns keys, and values are not supported.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/HashBasedTable.java

     * order of the various views.
     *
     * <p>The views returned by {@link #column}, {@link #columnKeySet()}, and {@link #columnMap()} have
     * iterators that don't support {@code remove()}. Otherwise, all optional operations are supported.
     * Null row keys, columns keys, and values are not supported.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

              return AsMap.this;
            }
    
            @Override
            public Iterator<Entry<K, Collection<V>>> iterator() {
              return new AbstractIterator<Entry<K, Collection<V>>>() {
                final Iterator<Entry<K, Collection<V>>> backingIterator =
                    unfiltered.asMap().entrySet().iterator();
    
                @Override
                protected @Nullable Entry<K, Collection<V>> computeNext() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top