Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for toStringFunction (0.07 sec)

  1. android/guava/src/com/google/common/collect/Maps.java

       * Color red = new Color("red", 255, 0, 0);
       * ...
       * Iterator<Color> allColors = ImmutableSet.of(red, green, blue).iterator();
       *
       * Map<String, Color> colorForName =
       *     uniqueIndex(allColors, toStringFunction());
       * assertThat(colorForName).containsEntry("red", red);
       * }</pre>
       *
       * <p>If your index may associate multiple values with each key, use {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Maps.java

       * Color red = new Color("red", 255, 0, 0);
       * ...
       * Iterator<Color> allColors = ImmutableSet.of(red, green, blue).iterator();
       *
       * Map<String, Color> colorForName =
       *     uniqueIndex(allColors, toStringFunction());
       * assertThat(colorForName).containsEntry("red", red);
       * }</pre>
       *
       * <p>If your index may associate multiple values with each key, use {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
Back to top