Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 896 for key6 (0.01 seconds)

  1. 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);
     *           }
     *         });
     * }
     *
    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)
  2. guava/src/com/google/common/collect/MapDifference.java

       * equal.
       */
      boolean areEqual();
    
      /**
       * Returns an unmodifiable map containing the entries from the left map whose keys are not present
       * in the right map.
       */
      Map<K, V> entriesOnlyOnLeft();
    
      /**
       * Returns an unmodifiable map containing the entries from the right map whose keys are not
       * present in the left map.
       */
      Map<K, V> entriesOnlyOnRight();
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/HashBiMap.java

        if (oldNodeForValue != null
            && keyHash == oldNodeForValue.keyHash
            && Objects.equals(key, oldNodeForValue.key)) {
          return key;
        } else if (oldNodeForKey != null && !force) {
          throw new IllegalArgumentException("key already present: " + key);
        }
    
        if (oldNodeForValue != null) {
          delete(oldNodeForValue);
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/util/OptionalUtilTest.java

            assertFalse(result.isPresent());
        }
    
        @Test
        public void test_ofNullable_withMap() {
            Map<String, Object> testValue = new HashMap<>();
            testValue.put("key1", "value1");
            testValue.put("key2", 42);
    
            OptionalEntity<Map<String, Object>> result = OptionalUtil.ofNullable(testValue);
    
            assertNotNull(result);
            assertTrue(result.isPresent());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/cache/RemovalListener.java

     * shared resources.
     *
     * @param <K> the most general type of keys this listener can listen for; for example {@code Object}
     *     if any key is acceptable
     * @param <V> the most general type of values this listener can listen for; for example {@code
     *     Object} if any key is acceptable
     * @author Charles Fry
     * @since 10.0
     */
    @GwtCompatible
    public interface RemovalListener<K, V> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 2K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/Synchronized.java

            }
            return asMap;
          }
        }
    
        @Override
        public Multiset<K> keys() {
          synchronized (mutex) {
            if (keys == null) {
              keys = multiset(delegate().keys(), mutex);
            }
            return keys;
          }
        }
    
        @Override
        // A forwarding implementation can't do any better than the underlying object.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Aug 08 15:11:10 GMT 2025
    - 53K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/crawler/serializer/DataSerializerTest.java

         */
        @Test
        public void test_serializeDeserialize_map() {
            Map<String, Object> original = new HashMap<>();
            original.put("key1", "value1");
            original.put("key2", 123);
            original.put("key3", true);
    
            byte[] serialized = serializer.fromObjectToBinary(original);
            assertNotNull(serialized, "Serialized data should not be null");
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.6K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/Serialization.java

       * Multimap#asMap} view determines the ordering in which data is written to the stream.
       *
       * <p>The serialized output consists of the number of distinct keys, and then for each distinct
       * key: the key, the number of values for that key, and the key's values.
       */
      static <K extends @Nullable Object, V extends @Nullable Object> void writeMultimap(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/curl/CurlRequestTest.java

            CurlRequest result = request.param("key1", "value1").param("key2", "value2");
    
            assertSame(request, result); // Fluent API
        }
    
        @Test
        public void testParamWithNullValue() {
            CurlRequest request = new CurlRequest(Method.GET, "https://example.com");
    
            CurlRequest result = request.param("key", null);
    
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 24.7K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

                Entry<K, V> entry = requireNonNull(entryArray[i]);
                K key = entry.getKey();
                V value = entry.getValue();
                checkEntryNotNull(key, value);
                keys[i] = key;
                values[i] = value;
                checkNoConflict(comparator.compare(prevKey, key) != 0, "key", prevEntry, entry);
                prevKey = key;
              }
            }
            return new ImmutableSortedMap<>(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 54.7K bytes
    - Click Count (0)
Back to Top