Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 694 for key4 (0.02 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/MultimapClearTester.java

        assertEmpty(multimap().entries());
        assertEmpty(multimap().asMap());
        assertEmpty(multimap().keySet());
        assertEmpty(multimap().keys());
        assertEmpty(multimap().values());
        for (K key : sampleKeys()) {
          assertGet(key);
        }
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testClear() {
        multimap().clear();
        assertCleared();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 21:10:54 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

       * key-value pairs are added to the multimap.
       *
       * @param key key to associate with values in the collection
       * @return a new decorated set containing a collection of values for one key
       */
      @Override
      Collection<V> createCollection(@ParametricNullness K key) {
        return new ValueSet(key, valueSetCapacity);
      }
    
      /**
       * {@inheritDoc}
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableMultimap.java

            valuesBuilder.add(value);
          }
          return this;
        }
    
        /**
         * Stores an array of values with the same key in the built multimap.
         *
         * @throws NullPointerException if the key or any value is null. The builder is left in an
         *     invalid state.
         */
        @CanIgnoreReturnValue
        public Builder<K, V> putAll(K key, V... values) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 28.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/FilteredEntryMultimap.java

      Multiset<K> createKeys() {
        return new Keys();
      }
    
      @WeakOuter
      final class Keys extends Multimaps.Keys<K, V> {
        Keys() {
          super(FilteredEntryMultimap.this);
        }
    
        @Override
        public int remove(@Nullable Object key, int occurrences) {
          checkNonnegative(occurrences, "occurrences");
          if (occurrences == 0) {
            return count(key);
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/package-info.java

     *       as that of its keys. This is sometimes called an "invertible map," since the restriction on
     *       values enables it to support an {@linkplain BiMap#inverse inverse view} -- which is another
     *       instance of {@code BiMap}.
     *   <dt>{@link Table}
     *   <dd>A new type, which is similar to {@link java.util.Map}, but which indexes its values by an
     *       ordered pair of keys, a row key and column key.
     *   <dt>{@link Multiset}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/package-info.java

     *       as that of its keys. This is sometimes called an "invertible map," since the restriction on
     *       values enables it to support an {@linkplain BiMap#inverse inverse view} -- which is another
     *       instance of {@code BiMap}.
     *   <dt>{@link Table}
     *   <dd>A new type, which is similar to {@link java.util.Map}, but which indexes its values by an
     *       ordered pair of keys, a row key and column key.
     *   <dt>{@link Multiset}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java

      public void testAsMapGetImplementsSet() {
        for (K key : multimap().keySet()) {
          assertTrue(multimap().asMap().get(key) instanceof Set);
        }
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testAsMapRemoveImplementsSet() {
        List<K> keys = new ArrayList<>(multimap().keySet());
        for (K key : keys) {
          resetCollection();
          assertTrue(multimap().asMap().remove(key) instanceof Set);
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/CacheBuilder.java

     *
     * {@snippet :
     * LoadingCache<Key, Graph> graphs = CacheBuilder.newBuilder()
     *     .maximumSize(10000)
     *     .expireAfterWrite(Duration.ofMinutes(10))
     *     .removalListener(MY_LISTENER)
     *     .build(
     *         new CacheLoader<Key, Graph>() {
     *           public Graph load(Key key) throws AnyException {
     *             return createExpensiveGraph(key);
     *           }
     *         });
     * }
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/RegularImmutableMap.java

      }
    
      /**
       * Returns a hash table for the specified keys and values, and ensures that neither keys nor
       * values are null. This method may update {@code alternatingKeysAndValues} if there are duplicate
       * keys. If so, the return value will indicate how many entries are still valid, and will also
       * include a {@link Builder.DuplicateKey} in case duplicate keys are not allowed now or will not
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

      @DoNotCall("Always throws UnsupportedOperationException")
      public final ImmutableList<V> replaceValues(K key, Iterable<? extends V> values) {
        throw new UnsupportedOperationException();
      }
    
      /**
       * @serialData number of distinct keys, and then for each distinct key: the key, the number of
       *     values for that key, and the key's values
       */
      @GwtIncompatible
      @J2ktIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
Back to top