Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for containsEntry (0.15 sec)

  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);
       * }</pre>
       *
       * <p>If your index may associate multiple values with each key, use {@link
       * Multimaps#index(Iterable, Function) Multimaps.index}.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
Back to top