Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 923 for key7 (0.16 seconds)

  1. src/main/java/org/codelibs/core/collection/Maps.java

         */
        public static <KEY, VALUE> Maps<KEY, VALUE> hashMap(final KEY key, final VALUE value) {
            return new Maps<>(new HashMap<KEY, VALUE>()).$(key, value);
        }
    
        /**
         * Returns a {@literal Maps} for constructing a {@link Hashtable} with the specified key and value.
         *
         * @param <KEY> the key type of the <code>Map</code>
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

            if (valueItr == null) {
              valueIterators.put(key, valueItr = sampleValuesIterator());
            }
            entries[i] = mapEntry(key, valueItr.next());
          }
          return multimapGenerator.create((Object[]) entries).keys();
        }
    
        private Iterator<V> sampleValuesIterator() {
          return ((TestMultimapGenerator<K, V, M>) multimapGenerator.getInnerGenerator())
              .sampleValues()
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 02 19:58:40 GMT 2026
    - 26.7K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/AbstractHashFloodingTest.java

      interface Construction<T> {
        @CanIgnoreReturnValue
        T create(List<?> keys);
    
        static Construction<Map<Object, Object>> mapFromKeys(
            Supplier<Map<Object, Object>> mutableSupplier) {
          return keys -> {
            Map<Object, Object> map = mutableSupplier.get();
            for (Object key : keys) {
              map.put(key, new Object());
            }
            return map;
          };
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 9K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/StandardTable.java

     * Null row keys, columns keys, and values are not supported.
     *
     * <p>Lookups by row key are often faster than lookups by column key, because the data is stored in
     * a {@code Map<R, Map<C, V>>}. A method call like {@code column(columnKey).get(rowKey)} still runs
     * quickly, since the row key is provided. However, {@code column(columnKey).size()} takes longer,
     * since an iteration across all row keys occurs.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 30.4K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapAsMapTester.java

        for (K key : multimap().keySet()) {
          assertTrue(multimap().asMap().get(key) instanceof List);
        }
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testAsMapRemoveImplementsList() {
        List<K> keys = new ArrayList<>(multimap().keySet());
        for (K key : keys) {
          resetCollection();
          assertTrue(multimap().asMap().remove(key) instanceof List);
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/ListMultimapAsMapTester.java

        for (K key : multimap().keySet()) {
          assertTrue(multimap().asMap().get(key) instanceof List);
        }
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testAsMapRemoveImplementsList() {
        List<K> keys = new ArrayList<>(multimap().keySet());
        for (K key : keys) {
          resetCollection();
          assertTrue(multimap().asMap().remove(key) instanceof List);
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

       * key. When a key-value pair is added to a multimap that didn't previously
       * contain any values for that key, a new collection generated by
       * createCollection is added to the map. That same collection instance
       * remains in the map as long as the multimap has any values for the key. If
       * all values for the key are removed, the key and collection are removed
       * from the map.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 48.4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/StandardTable.java

     * Null row keys, columns keys, and values are not supported.
     *
     * <p>Lookups by row key are often faster than lookups by column key, because the data is stored in
     * a {@code Map<R, Map<C, V>>}. A method call like {@code column(columnKey).get(rowKey)} still runs
     * quickly, since the row key is provided. However, {@code column(columnKey).size()} takes longer,
     * since an iteration across all row keys occurs.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 29.4K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/FilteredKeyMultimap.java

      @Override
      public boolean containsKey(@Nullable Object key) {
        if (unfiltered.containsKey(key)) {
          @SuppressWarnings("unchecked") // k is equal to a K, if not one itself
          K k = (K) key;
          return keyPredicate.apply(k);
        }
        return false;
      }
    
      @Override
      public Collection<V> removeAll(@Nullable Object key) {
        return containsKey(key) ? unfiltered.removeAll(key) : unmodifiableEmptyCollection();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/FilteredKeyMultimap.java

      @Override
      public boolean containsKey(@Nullable Object key) {
        if (unfiltered.containsKey(key)) {
          @SuppressWarnings("unchecked") // k is equal to a K, if not one itself
          K k = (K) key;
          return keyPredicate.apply(k);
        }
        return false;
      }
    
      @Override
      public Collection<V> removeAll(@Nullable Object key) {
        return containsKey(key) ? unfiltered.removeAll(key) : unmodifiableEmptyCollection();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 6.2K bytes
    - Click Count (0)
Back to Top