Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 93 for associated (0.46 sec)

  1. android/guava/src/com/google/common/cache/LoadingCache.java

     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface LoadingCache<K, V> extends Cache<K, V>, Function<K, V> {
    
      /**
       * Returns the value associated with {@code key} in this cache, first loading that value if
       * necessary. No observable state associated with this cache is modified until loading completes.
       *
       * <p>If another call to {@link #get} or {@link #getUnchecked} is currently loading the value for
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Aug 06 17:12:03 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/Cache.java

    public interface Cache<K, V> {
    
      /**
       * Returns the value associated with {@code key} in this cache, or {@code null} if there is no
       * cached value for {@code key}.
       *
       * @since 11.0
       */
      @CheckForNull
      @CanIgnoreReturnValue // TODO(b/27479612): consider removing this?
      V getIfPresent(@CompatibleWith("K") Object key);
    
      /**
       * Returns the value associated with {@code key} in this cache, obtaining that value from {@code
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 7.9K bytes
    - Viewed (1)
  3. android/guava/src/com/google/common/collect/package-info.java

     *       {@linkplain SetMultimap#get collection of values} associated with a given key fulfills the
     *       {@link java.util.Set} contract.
     *   <dt>{@link SortedSetMultimap}
     *   <dd>An extension of {@link SetMultimap} for which the {@linkplain SortedSetMultimap#get
     *       collection values} associated with a given key is a {@link java.util.SortedSet}.
     *   <dt>{@link BiMap}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jul 06 16:29:45 GMT 2023
    - 5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Multimap.java

       *     associated with the key. The collection <i>may</i> be modifiable, but updating it will have
       *     no effect on the multimap.
       */
      @CanIgnoreReturnValue
      Collection<V> replaceValues(@ParametricNullness K key, Iterable<? extends V> values);
    
      /**
       * Removes all values associated with the key {@code key}.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/CacheLoader.java

      protected CacheLoader() {}
    
      /**
       * Computes or retrieves the value corresponding to {@code key}.
       *
       * @param key the non-null key whose value should be loaded
       * @return the value associated with {@code key}; <b>must not be null</b>
       * @throws Exception if unable to load the result
       * @throws InterruptedException if this method is interrupted. {@code InterruptedException} is
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 9.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/SortedMultiset.java

       * empty.
       */
      @CheckForNull
      Entry<E> lastEntry();
    
      /**
       * Returns and removes the entry associated with the lowest element in this multiset, or returns
       * {@code null} if this multiset is empty.
       */
      @CheckForNull
      Entry<E> pollFirstEntry();
    
      /**
       * Returns and removes the entry associated with the greatest element in this multiset, or returns
       * {@code null} if this multiset is empty.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/EnumBiMap.java

        checkArgument(!map.isEmpty());
        return getDeclaringClassOrObjectForJ2cl(map.values().iterator().next());
      }
    
      /** 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
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/Cache.java

    public interface Cache<K, V> {
    
      /**
       * Returns the value associated with {@code key} in this cache, or {@code null} if there is no
       * cached value for {@code key}.
       *
       * @since 11.0
       */
      @CheckForNull
      @CanIgnoreReturnValue // TODO(b/27479612): consider removing this?
      V getIfPresent(@CompatibleWith("K") Object key);
    
      /**
       * Returns the value associated with {@code key} in this cache, obtaining that value from {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/BiMap.java

       * discarded and not returned.
       *
       * @param key the key with which the specified value is to be associated
       * @param value the value to be associated with the specified key
       * @return the value that was previously associated with the key, or {@code null} if there was no
       *     previous entry. (If the bimap contains null values, then {@code forcePut}, like {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/reflect/TypeToInstanceMap.java

      /**
       * Maps the specified class to the specified value. Does <i>not</i> associate this value with any
       * of the class's supertypes.
       *
       * <p>{@code putInstance(Foo.class, foo)} is equivalent to {@code
       * putInstance(TypeToken.of(Foo.class), foo)}.
       *
       * @return the value previously associated with this class (possibly {@code null}), or {@code
       *     null} if there was no previous entry.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Apr 22 01:15:23 GMT 2023
    - 3.8K bytes
    - Viewed (0)
Back to top