Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 508 for views (0.05 seconds)

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

     * existing key-value pair has no effect.
     *
     * <p>Keys and values may be null. All optional multimap methods are supported, and all returned
     * views are modifiable.
     *
     * <p>This class is not threadsafe when any concurrent operations update the multimap. Concurrent
     * read operations will work correctly. To allow concurrent update operations, wrap your multimap
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 19.2K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/LinkedHashMultimap.java

     * existing key-value pair has no effect.
     *
     * <p>Keys and values may be null. All optional multimap methods are supported, and all returned
     * views are modifiable.
     *
     * <p>This class is not threadsafe when any concurrent operations update the multimap. Concurrent
     * read operations will work correctly. To allow concurrent update operations, wrap your multimap
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 20K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/ImmutableListMultimap.java

       */
      private transient @Nullable ImmutableListMultimap<?, ?> deserializationReplacement;
    
      ImmutableListMultimap(ImmutableMap<K, ImmutableList<V>> map, int size) {
        super(map, size);
      }
    
      // views
    
      /**
       * Returns an immutable list of the values for the given key. If no mappings in the multimap have
       * the provided key, an empty immutable list is returned. The values are in the same order as the
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        // wait for entries to expire, but don't call expireEntries
        ticker.advance(EXPIRING_TIME * 10, MILLISECONDS);
    
        // add a single unexpired entry
        cache.getUnchecked(KEY_PREFIX + 11);
    
        // collections views shouldn't expose expired entries
        assertThat(Iterators.size(cache.asMap().entrySet().iterator())).isEqualTo(1);
        assertThat(Iterators.size(cache.asMap().keySet().iterator())).isEqualTo(1);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 19.1K bytes
    - Click Count (0)
  5. guava/src/com/google/common/cache/CacheBuilder.java

     *           }
     *         });
     * }
     *
     * <p>The returned cache implements all optional operations of the {@link LoadingCache} and {@link
     * Cache} interfaces. The {@code asMap} view (and its collection views) have <i>weakly consistent
     * iterators</i>. This means that they are safe for concurrent use, but if other threads modify the
     * cache after the iterator is created, it is undefined which of these changes, if any, are
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 51.7K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

                countMap.remove(element, existingCounter);
              }
              return true;
            }
          }
        }
        return false;
      }
    
      // Views
    
      @Override
      Set<E> createElementSet() {
        Set<E> delegate = countMap.keySet();
        return new ForwardingSet<E>() {
          @Override
          protected Set<E> delegate() {
            return delegate;
    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)
  7. guava-tests/test/com/google/common/hash/BloomFilterTest.java

    import java.util.stream.Stream;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for SimpleGenericBloomFilter and derived BloomFilter views.
     *
     * @author Dimitris Andreou
     */
    @NullUnmarked
    public class BloomFilterTest extends TestCase {
      private static final int NUM_PUTS = 100_000;
      private static final ThreadLocal<Random> random =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 23K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/Sets.java

       * navigable set is accomplished through the returned navigable set (or its views).
       *
       * <p>It is imperative that the user manually synchronize on the returned sorted set when
       * iterating over it or any of its {@code descendingSet}, {@code subSet}, {@code headSet}, or
       * {@code tailSet} views.
       *
       * {@snippet :
       * NavigableSet<E> set = synchronizedNavigableSet(new TreeSet<E>());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 81.4K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

       */
      private transient @Nullable ImmutableListMultimap<?, ?> deserializationReplacement;
    
      ImmutableListMultimap(ImmutableMap<K, ImmutableList<V>> map, int size) {
        super(map, size);
      }
    
      // views
    
      /**
       * Returns an immutable list of the values for the given key. If no mappings in the multimap have
       * the provided key, an empty immutable list is returned. The values are in the same order as the
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 19.5K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/ConcurrentHashMultiset.java

                countMap.remove(element, existingCounter);
              }
              return true;
            }
          }
        }
        return false;
      }
    
      // Views
    
      @Override
      Set<E> createElementSet() {
        Set<E> delegate = countMap.keySet();
        return new ForwardingSet<E>() {
          @Override
          protected Set<E> delegate() {
            return delegate;
    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)
Back to Top