Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for move (0.34 sec)

  1. guava-tests/test/com/google/common/collect/MapsTest.java

            Maps.uniqueIndex(
                INT_TO_STRING_MAP.values().iterator(), Functions.forMap(INT_TO_STRING_MAP.inverse()));
        assertEquals(INT_TO_STRING_MAP, outputMap);
      }
    
      /** Can't create the map if more than one value maps to the same key. */
      public void testUniqueIndexDuplicates() {
        try {
          Map<Integer, String> unused =
              Maps.uniqueIndex(ImmutableSet.of("one", "uno"), Functions.constant(1));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 67.1K bytes
    - Viewed (0)
Back to top