Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for defaultValue (0.16 sec)

  1. guava/src/com/google/common/base/Functions.java

       * @return function that returns {@code map.get(a)} when {@code a} is a key, or {@code
       *     defaultValue} otherwise
       */
      public static <K extends @Nullable Object, V extends @Nullable Object> Function<K, V> forMap(
          Map<K, ? extends V> map, @ParametricNullness V defaultValue) {
        return new ForMapWithDefault<>(map, defaultValue);
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Functions.java

       * @return function that returns {@code map.get(a)} when {@code a} is a key, or {@code
       *     defaultValue} otherwise
       */
      public static <K extends @Nullable Object, V extends @Nullable Object> Function<K, V> forMap(
          Map<K, ? extends V> map, @ParametricNullness V defaultValue) {
        return new ForMapWithDefault<>(map, defaultValue);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.1K bytes
    - Viewed (0)
Back to top