Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 34 of 34 for containsEntry (0.05 sec)

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

       * ...
       * FluentIterable<Color> allColors = FluentIterable.from(ImmutableSet.of(red, green, blue));
       *
       * Map<String, Color> colorForName = allColors.uniqueIndex(toStringFunction());
       * assertThat(colorForName).containsEntry("red", red);
       * }
       *
       * <p>If your index may associate multiple values with each key, use {@link #index(Function)
       * index}.
       *
       * <p><b>{@code Stream} equivalent:</b> {@code
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Multimaps.java

        }
    
        @Override
        public boolean containsValue(@Nullable Object value) {
          return map.containsValue(value);
        }
    
        @Override
        public boolean containsEntry(@Nullable Object key, @Nullable Object value) {
          return map.entrySet().contains(Maps.immutableEntry(key, value));
        }
    
        @Override
        public Set<V> get(@ParametricNullness K key) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 86.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Maps.java

       * ImmutableSet<Color> allColors = ImmutableSet.of(red, green, blue);
       *
       * ImmutableMap<String, Color> colorForName =
       *     uniqueIndex(allColors, c -> c.toString());
       * assertThat(colorForName).containsEntry("red", red);
       * }
       *
       * <p>If your index may associate multiple values with each key, use {@link
       * Multimaps#index(Iterable, Function) Multimaps.index}.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 157.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Maps.java

       * ImmutableSet<Color> allColors = ImmutableSet.of(red, green, blue);
       *
       * ImmutableMap<String, Color> colorForName =
       *     uniqueIndex(allColors, c -> c.toString());
       * assertThat(colorForName).containsEntry("red", red);
       * }
       *
       * <p>If your index may associate multiple values with each key, use {@link
       * Multimaps#index(Iterable, Function) Multimaps.index}.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 163.5K bytes
    - Viewed (0)
Back to top