- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for testInsertionOrder (0.11 sec)
-
android/guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java
CollectionFeature.KNOWN_ORDER) .createTestSuite()); suite.addTestSuite(CompactLinkedHashMapTest.class); return suite; } public void testInsertionOrder() { Map<Integer, String> map = CompactLinkedHashMap.create(); map.put(1, "a"); map.put(4, "b"); map.put(3, "d"); map.put(2, "c");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 6.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java
CollectionFeature.KNOWN_ORDER) .createTestSuite()); suite.addTestSuite(CompactLinkedHashMapTest.class); return suite; } public void testInsertionOrder() { Map<Integer, String> map = CompactLinkedHashMap.create(); map.put(1, "a"); map.put(4, "b"); map.put(3, "d"); map.put(2, "c");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 7.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/HashBiMapTest.java
assertEquals("two", map.get(1)); assertEquals(Integer.valueOf(1), map.inverse().get("two")); iterator.remove(); // removes the updated entry assertTrue(map.isEmpty()); } public void testInsertionOrder() { BiMap<String, Integer> map = HashBiMap.create(); map.put("foo", 1); map.put("bar", 2); map.put("quux", 3); assertThat(map.entrySet()) .containsExactly(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 8.3K bytes - Viewed (0)