- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 902 for PUT (0.12 sec)
-
android/guava-tests/test/com/google/common/collect/ImmutableTableTest.java
Table<Character, Integer, String> table = TreeBasedTable.create(); table.put('x', 2, "foo"); table.put('r', 1, "bar"); table.put('c', 3, "baz"); table.put('b', 7, "cat"); table.put('e', 5, "dog"); table.put('c', 0, "axe"); table.put('e', 3, "tub"); table.put('r', 4, "foo"); table.put('x', 5, "bar"); validateTableCopies(table); } public void testCopyOfDense() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Mar 04 16:54:11 GMT 2024 - 19.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java
map.put("foo", 1); map.put("bar", 2); map.put("bar", 3); assertEquals("{foo=[1], bar=[2, 3]}", map.toString()); assertEquals("[foo=1, bar=2, bar=3]", map.entries().toString()); } public void testLinkedPutOutOfOrder() { Multimap<String, Integer> map = create(); map.put("bar", 1); map.put("foo", 2); map.put("bar", 3);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Feb 21 10:16:44 GMT 2024 - 17.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java
fail(); } catch (NullPointerException expected) { } expectUnchanged(); } @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_KEYS}) public void testPutNullKey() { int size = getNumElements(); multimap().put(null, v3()); assertGet(null, v3()); assertEquals(size + 1, multimap().size()); } @MapFeature.Require(SUPPORTS_PUT)
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 7.1K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 27 19:19:19 GMT 2024 - 16.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/BiMapPutTester.java
} @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(ZERO) public void testPutPresentKeyDifferentValue() { getMap().put(k0(), v0()); getMap().put(k0(), v1()); // verify that the bimap is changed, and that the old inverse mapping // from v1 -> v0 is deleted expectContents(Helpers.mapEntry(k0(), v1())); } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(ZERO)
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 4.9K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java
attributes.put("icons", "font"); attributes.put("source-highlighter", "prettify"); attributes.put("toc", "auto"); attributes.put("toclevels", 1); attributes.put("toc-title", "Contents"); attributes.put("groovyDslPath", "../dsl"); attributes.put("javadocPath", "../javadoc"); attributes.put("kotlinDslPath", "../kotlin-dsl");
Java - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Mar 01 05:46:51 GMT 2024 - 17.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java
multimap.put("bar", 2); multimap.put("bar", null); multimap.put("foo", null); multimap.put("foo", 4); multimap.put(null, -1); multimap.put("bar", 3); multimap.put("bar", 1); multimap.put("foo", 1); assertEquals( "{foo=[3, -1, 2, null, 4, 1], null=[null, 0, -1], bar=[1, 2, null, 3]}", multimap.toString()); } public void testPutMultimapOrdered() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Feb 21 10:16:44 GMT 2024 - 18.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableTableTest.java
Table<Character, Integer, String> table = TreeBasedTable.create(); table.put('x', 2, "foo"); table.put('r', 1, "bar"); table.put('c', 3, "baz"); table.put('b', 7, "cat"); table.put('e', 5, "dog"); table.put('c', 0, "axe"); table.put('e', 3, "tub"); table.put('r', 4, "foo"); table.put('x', 5, "bar"); validateTableCopies(table); } public void testCopyOfDense() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Mar 04 16:54:11 GMT 2024 - 20K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java
ImmutableSortedMap.<String, Integer>naturalOrder().put("one", 1).build(); assertMapEquals(map, "one", 1); } public void testBuilder() { ImmutableSortedMap<String, Integer> map = ImmutableSortedMap.<String, Integer>naturalOrder() .put("one", 1) .put("two", 2) .put("three", 3) .put("four", 4) .put("five", 5) .build();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 27K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java
} @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testPut_supportedPresent() { assertEquals("put(present, value) should return the old value", v0(), getMap().put(k0(), v3())); expectReplacement(entry(k0(), v3())); } @MapFeature.Require(SUPPORTS_PUT) public void testPut_supportedNotPresent() { assertNull("put(notPresent, value) should return null", put(e3()));
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 9.4K bytes - Viewed (0)