Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 694 for key4 (0.02 sec)

  1. android/guava/src/com/google/common/graph/MapRetrievalCache.java

      }
    
      @SuppressWarnings("unchecked") // Safe because we only cast if key is found in map.
      @Override
      @Nullable V get(Object key) {
        checkNotNull(key);
        V value = getIfCached(key);
        if (value != null) {
          return value;
        }
    
        value = getWithoutCaching(key);
        if (value != null) {
          addToCache((K) key, value);
        }
        return value;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ForwardingMultimap.java

      @Override
      public boolean remove(@Nullable Object key, @Nullable Object value) {
        return delegate().remove(key, value);
      }
    
      @CanIgnoreReturnValue
      @Override
      public Collection<V> removeAll(@Nullable Object key) {
        return delegate().removeAll(key);
      }
    
      @CanIgnoreReturnValue
      @Override
      public Collection<V> replaceValues(@ParametricNullness K key, Iterable<? extends V> values) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 21:10:54 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ForwardingMultimap.java

      @Override
      public boolean remove(@Nullable Object key, @Nullable Object value) {
        return delegate().remove(key, value);
      }
    
      @CanIgnoreReturnValue
      @Override
      public Collection<V> removeAll(@Nullable Object key) {
        return delegate().removeAll(key);
      }
    
      @CanIgnoreReturnValue
      @Override
      public Collection<V> replaceValues(@ParametricNullness K key, Iterable<? extends V> values) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 21:10:54 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  4. 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.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Aug 12 15:51:57 UTC 2025
    - 48.2K bytes
    - Viewed (0)
  5. 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>
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/ViewHelperTest.java

            viewHelper.setUseSession(true);
            assertTrue(viewHelper.isUseSession());
    
            viewHelper.addInitFacetParam("key1", "value1");
            assertEquals("key1", viewHelper.getInitFacetParamMap().get("value1"));
    
            viewHelper.addInitGeoParam("key2", "value2");
            assertEquals("key2", viewHelper.getInitGeoParamMap().get("value2"));
    
            FacetQueryView facetQueryView = new FacetQueryView();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 27.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/CollectCollectors.java

               * We assign these to variables before calling checkNotNull to work around a bug in our
               * nullness checker.
               */
              K key = keyFunction.apply(t);
              V newValue = valueFunction.apply(t);
              accum.put(
                  checkNotNull(key, "Null key for input %s", t),
                  checkNotNull(newValue, "Null value for input %s", t));
            },
            EnumMapAccumulator::combine,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 16.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/CollectCollectors.java

               * We assign these to variables before calling checkNotNull to work around a bug in our
               * nullness checker.
               */
              K key = keyFunction.apply(t);
              V newValue = valueFunction.apply(t);
              accum.put(
                  checkNotNull(key, "Null key for input %s", t),
                  checkNotNull(newValue, "Null value for input %s", t));
            },
            EnumMapAccumulator::combine,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        CacheLoader<Integer, String> recursiveLoader =
            new CacheLoader<Integer, String>() {
              @Override
              public String load(Integer key) {
                if (key > 0) {
                  return key + ", " + cacheRef.get().getUnchecked(key - 1);
                } else {
                  return "0";
                }
              }
            };
    
        LoadingCache<Integer, String> recursiveCache =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertEquals(0, stats.hitCount());
    
        Object key = new Object();
        assertSame(key, cache.get(key));
        stats = cache.stats();
        assertEquals(1, stats.missCount());
        assertEquals(1, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
        assertEquals(0, stats.hitCount());
    
        key = new Object();
        assertSame(key, cache.getUnchecked(key));
        stats = cache.stats();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 85.7K bytes
    - Viewed (0)
Back to top