- Sort Score
- Result 10 results
- Languages All
Results 331 - 340 of 1,130 for REMOVE (0.17 sec)
-
guava-tests/test/com/google/common/collect/HashBiMapTest.java
map.put("quux", 3); map.remove("bar"); assertThat(map.entrySet()) .containsExactly(immutableEntry("foo", 1), immutableEntry("quux", 3)) .inOrder(); } public void testInsertionOrderAfterRemoveLast() { BiMap<String, Integer> map = HashBiMap.create(); map.put("foo", 1); map.put("bar", 2); map.put("quux", 3); map.remove("quux"); assertThat(map.entrySet())
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 8.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java
map.put(3, "d"); map.put(2, "c"); map.remove(1); testHasMapEntriesInOrder(map, 4, "b", 3, "d", 2, "c"); } public void testInsertionOrderAfterRemoveMiddleEntry() { Map<Integer, String> map = CompactLinkedHashMap.create(); map.put(1, "a"); map.put(4, "b"); map.put(3, "d"); map.put(2, "c"); map.remove(4); testHasMapEntriesInOrder(map, 1, "a", 3, "d", 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-testlib/src/com/google/common/collect/testing/Helpers.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 17.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/LocalCacheTest.java
map.put(one, two); map.remove(one); assertNotified(listener, one, two, RemovalCause.EXPLICIT); map.put(two, three); map.remove(two, three); assertNotified(listener, two, three, RemovalCause.EXPLICIT); map.put(three, four); Iterator<?> i = map.entrySet().iterator(); i.next(); i.remove(); assertNotified(listener, three, four, RemovalCause.EXPLICIT);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 112.3K bytes - Viewed (0) -
docs/debugging/inspect/main.go
} output.Close() if err != nil { var keep keepFileErr if !errors.As(err, &keep) { os.Remove(outputFileName) } fatalErr(err) } // Export xl.meta to stdout if *export { fatalErr(inspectToExportType(outputFileName, *djson)) os.Remove(outputFileName) } } func generateKeys() { privatekey, err := rsa.GenerateKey(crand.Reader, 2048) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 31 14:49:23 UTC 2024 - 5.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractEntity.java
} public void mymodifyProperty(String propertyName) { registerModifiedProperty(propertyName); } public void mymodifyPropertyCancel(String propertyName) { __modifiedProperties.remove(propertyName); } public void clearModifiedInfo() { __modifiedProperties.clear(); } public boolean hasModification() { return !__modifiedProperties.isEmpty(); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 10.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/BiMapTestSuiteBuilder.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapGetTester.java
assertTrue(result.remove(v0())); assertFalse(multimap().containsEntry(k0(), v0())); assertEquals(2, multimap().size()); } @CollectionSize.Require(absent = ZERO) @MapFeature.Require(SUPPORTS_REMOVE) public void testPropagatesRemoveLastElementToMultimap() { Collection<V> result = multimap().get(k0()); assertTrue(result.remove(v0())); assertGet(k0()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
@Override public boolean isEmpty() { assertTrue(Thread.holdsLock(mutex)); return super.isEmpty(); } @Override public @Nullable V remove(Object object) { assertTrue(Thread.holdsLock(mutex)); return super.remove(object); } @Override public void clear() { assertTrue(Thread.holdsLock(mutex)); super.clear(); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 06 17:23:04 UTC 2024 - 5.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapTester.java
} @CollectionSize.Require(absent = ZERO) @MapFeature.Require(SUPPORTS_REMOVE) public void testAsMapRemove() { assertContentsInOrder(multimap().asMap().remove(k0()), v0()); assertGet(k0()); assertEquals(getNumElements() - 1, multimap().size()); } @CollectionSize.Require(SEVERAL) @MapFeature.Require(SUPPORTS_PUT)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.7K bytes - Viewed (0)