Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for containsEntry (0.25 seconds)

  1. 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}.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 157.6K bytes
    - Click Count (0)
  2. 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}.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 163.4K bytes
    - Click Count (0)
Back to Top