Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 896 for key6 (0.04 seconds)

  1. guava/src/com/google/common/collect/EnumBiMap.java

      }
    
      /** Returns the associated key type. */
      @GwtIncompatible
      public Class<K> keyType() {
        return keyTypeOrObjectUnderJ2cl;
      }
    
      /** Returns the associated value type. */
      @GwtIncompatible
      public Class<V> valueType() {
        return valueTypeOrObjectUnderJ2cl;
      }
    
      @Override
      K checkKey(K key) {
        return checkNotNull(key);
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/crawler/transformer/FessTransformerTest.java

            transformer.putResultDataBody(dataMap, "key1", "value1");
            assertEquals("value1", dataMap.get("key1"));
    
            // Add an array - should merge with existing value
            String[] newValues = new String[] { "value2", "value3" };
            transformer.putResultDataBody(dataMap, "key1", newValues);
    
            Object result = dataMap.get("key1");
            assertTrue(result instanceof Object[]);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  3. android/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)
  4. guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

    public class LoadingCacheSingleThreadBenchmark {
      @Param({"1000", "2000"})
      int maximumSize;
    
      @Param("5000")
      int distinctKeys;
    
      @Param("4")
      int segments;
    
      // 1 means uniform likelihood of keys; higher means some keys are more popular
      // tweak this to control hit rate
      @Param("2.5")
      double concentration;
    
      Random random = new Random();
    
      LoadingCache<Integer, Integer> cache;
    
      int max;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Challenge.kt

        }
    
      constructor(scheme: String, realm: String) : this(scheme, singletonMap("realm", realm))
    
      init {
        val newAuthParams = mutableMapOf<String?, String>()
        for ((key, value) in authParams) {
          val newKey = key?.lowercase(US)
          newAuthParams[newKey] = value
        }
        this.authParams = newAuthParams.unmodifiable()
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue May 27 15:01:35 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java

        List<? extends Entry<?, ?>> entries = new ArrayList<>(map.entrySet());
        List<Object> keys = new ArrayList<>(map.keySet());
        List<Object> values = new ArrayList<>(map.values());
        assertThat(alternatingKeysAndValues).hasLength(2 * entries.size());
        assertThat(alternatingKeysAndValues).hasLength(2 * keys.size());
        assertThat(alternatingKeysAndValues).hasLength(2 * values.size());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

       *
       * @param multimap the presumed-immutable multimap
       * @param sampleKey a key of the same type as that contained by {@code multimap}. {@code multimap}
       *     may or may not have {@code sampleKey} as a key.
       * @param sampleValue a key of the same type as that contained by {@code multimap}. {@code
       *     multimap} may or may not have {@code sampleValue} as a key.
       */
      public static <K extends @Nullable Object, V extends @Nullable Object>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 14.9K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/SampleElements.java

          SampleElements<Entry<K, V>> mapEntries(SampleElements<K> keys, SampleElements<V> values) {
        return new SampleElements<>(
            mapEntry(keys.e0(), values.e0()),
            mapEntry(keys.e1(), values.e1()),
            mapEntry(keys.e2(), values.e2()),
            mapEntry(keys.e3(), values.e3()),
            mapEntry(keys.e4(), values.e4()));
      }
    
      public E e0() {
        return e0;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/ImmutableMap.java

        }
    
        @SuppressWarnings("unchecked")
        final Object legacyReadResolve() {
          K[] keys = (K[]) this.keys;
          V[] values = (V[]) this.values;
    
          Builder<K, V> builder = makeBuilder(keys.length);
    
          for (int i = 0; i < keys.length; i++) {
            builder.put(keys[i], values[i]);
          }
          return builder.buildOrThrow();
        }
    
        /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 44.7K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/cache/CacheLoaderTest.java

            new CacheLoader<Object, Object>() {
              @Override
              public Object load(Object key) {
                loadCount.incrementAndGet();
                return new Object();
              }
    
              @Override
              public ListenableFuture<Object> reload(Object key, Object oldValue) {
                reloadCount.incrementAndGet();
                return immediateFuture(new Object());
              }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 3.8K bytes
    - Click Count (0)
Back to Top