Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for 124 (0.03 sec)

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

      }
    
      public void testToString() {
        Multimap<String, Integer> multimap = LinkedHashMultimap.create();
        multimap.put("foo", 3);
        multimap.put("bar", 1);
        multimap.putAll("foo", Arrays.asList(-1, 2, 4));
        multimap.putAll("bar", Arrays.asList(2, 3));
        multimap.put("foo", 1);
        assertEquals("{foo=[3, -1, 2, 4, 1], bar=[1, 2, 3]}", multimap.toString());
      }
    
      public void testOrderingReadOnly() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 10:16:44 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/SetsTest.java

        expected.add(ImmutableSet.of(1, 2, 3));
    
        Set<Set<Integer>> almostPowerSet = newHashSet(expected);
        almostPowerSet.remove(ImmutableSet.of(1, 2, 3));
        almostPowerSet.add(ImmutableSet.of(1, 2, 4));
    
        new EqualsTester()
            .addEqualityGroup(expected, powerSet)
            .addEqualityGroup(ImmutableSet.of(1, 2, 3))
            .addEqualityGroup(almostPowerSet)
            .testEquals();
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 47.8K bytes
    - Viewed (0)
Back to top