Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testImmutableSortedMapCopyOfMap (0.12 sec)

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

       * ImmutableSorted{Set,Map}.copyOf(), whose type parameters we are unable to
       * restrict (see ImmutableSortedSetFauxverideShim).
       */
    
      public void testImmutableSortedMapCopyOfMap() {
        Map<Object, Object> original =
            ImmutableMap.of(new Object(), new Object(), new Object(), new Object());
    
        assertThrows(ClassCastException.class, () -> ImmutableSortedMap.copyOf(original));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/FauxveridesTest.java

       * ImmutableSorted{Set,Map}.copyOf(), whose type parameters we are unable to
       * restrict (see ImmutableSortedSetFauxverideShim).
       */
    
      public void testImmutableSortedMapCopyOfMap() {
        Map<Object, Object> original =
            ImmutableMap.of(new Object(), new Object(), new Object(), new Object());
    
        assertThrows(ClassCastException.class, () -> ImmutableSortedMap.copyOf(original));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top