Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 236 for key (0.22 sec)

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

      public Entry<K, V> lowerEntry(@ParametricNullness K key) {
        return headMap(key, false).lastEntry();
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> floorEntry(@ParametricNullness K key) {
        return headMap(key, true).lastEntry();
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> ceilingEntry(@ParametricNullness K key) {
        return tailMap(key, true).firstEntry();
      }
    
      @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Jun 15 18:11:44 GMT 2023
    - 4.5K 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}
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractListMultimapTester.java

      @Override
      protected void assertGet(K key, V... values) {
        assertGet(key, Arrays.asList(values));
      }
    
      @Override
      protected void assertGet(K key, Collection<? extends V> values) {
        assertEqualInOrder(values, multimap().get(key));
    
        if (!values.isEmpty()) {
          assertEqualInOrder(values, multimap().asMap().get(key));
          assertFalse(multimap().isEmpty());
        } else {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/JdkBackedImmutableMap.java

            Entry<K, V> entry = requireNonNull(entryArray[inI]);
            K key = entry.getKey();
            if (duplicates.containsKey(key)) {
              V value = duplicates.get(key);
              if (value == null) {
                continue; // delete this duplicate
              }
              entry = new ImmutableMapEntry<>(key, value);
              duplicates.put(key, null);
            }
            newEntryArray[outI++] = entry;
          }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/RegularImmutableMap.java

       *
       * (The index actually stored is the index of the key in alternatingKeysAndValues, which is
       * double the index of the entry in entrySet.asList.)
       *
       * The basic data structure is described in https://en.wikipedia.org/wiki/Open_addressing.
       * The pointer to a key is stored in hashTable[Hashing.smear(key.hashCode()) % table.length],
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        return generateListMultimap(key, value);
      }
    
      @Generates
      static <K, V> ImmutableMultimap<K, V> generateImmutableMultimap(K key, V value) {
        return ImmutableMultimap.of(key, value);
      }
    
      @Generates
      static <K, V> ListMultimap<K, V> generateListMultimap(@Nullable K key, @Nullable V value) {
        return generateArrayListMultimap(key, value);
      }
    
      @Generates
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/Hashing.java

       *
       * @param key the secret key
       * @throws IllegalArgumentException if the given key is inappropriate for initializing this MAC
       * @since 20.0
       */
      public static HashFunction hmacSha1(Key key) {
        return new MacHashFunction("HmacSHA1", key, hmacToString("hmacSha1", key));
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/EnumHashBiMap.java

      @CheckForNull
      public V forcePut(K key, @ParametricNullness V value) {
        return super.forcePut(key, value);
      }
    
      /** Returns the associated key type. */
      @GwtIncompatible
      public Class<K> keyType() {
        return keyTypeOrObjectUnderJ2cl;
      }
    
      /**
       * @serialData the key class, number of entries, first key, first value, second key, second value,
       *     and so on.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

        }
    
        @CanIgnoreReturnValue
        @Override
        public Builder<K, V> putAll(K key, Iterable<? extends V> values) {
          super.putAll(key, values);
          return this;
        }
    
        @CanIgnoreReturnValue
        @Override
        public Builder<K, V> putAll(K key, V... values) {
          return putAll(key, Arrays.asList(values));
        }
    
        @CanIgnoreReturnValue
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java

        resetContainer();
      }
    
      protected void assertGet(K key, V... values) {
        assertGet(key, Arrays.asList(values));
      }
    
      protected void assertGet(K key, Collection<? extends V> values) {
        assertEqualIgnoringOrder(values, multimap().get(key));
    
        if (!values.isEmpty()) {
          assertEqualIgnoringOrder(values, multimap().asMap().get(key));
          assertFalse(multimap().isEmpty());
        } else {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 6K bytes
    - Viewed (0)
Back to top