- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 91 for old (0.31 sec)
-
guava-testlib/src/com/google/common/collect/testing/google/MultisetAddTester.java
int originalCount = getMultiset().count(e0()); assertEquals("old count", originalCount, getMultiset().add(e0(), 0)); expectUnchanged(); } @CollectionFeature.Require(SUPPORTS_ADD) public void testAddOccurrences() { int originalCount = getMultiset().count(e0()); assertEquals("old count", originalCount, getMultiset().add(e0(), 2)); assertEquals("old count", originalCount + 2, getMultiset().count(e0())); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 09 20:10:38 UTC 2018 - 4.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java
int originalCount = getMultiset().count(e0()); assertEquals("old count", originalCount, getMultiset().remove(e0(), 0)); expectUnchanged(); } @CollectionSize.Require(absent = ZERO) @CollectionFeature.Require(SUPPORTS_REMOVE) public void testRemove_occurrences_present() { assertEquals( "multiset.remove(present, 2) didn't return the old count", 1, getMultiset().remove(e0(), 2));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java
int originalCount = getMultiset().count(e0()); assertEquals("old count", originalCount, getMultiset().remove(e0(), 0)); expectUnchanged(); } @CollectionSize.Require(absent = ZERO) @CollectionFeature.Require(SUPPORTS_REMOVE) public void testRemove_occurrences_present() { assertEquals( "multiset.remove(present, 2) didn't return the old count", 1, getMultiset().remove(e0(), 2));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AtomicLongMap.java
} /** * Increments by one the value currently associated with {@code key}, and returns the old value. */ @CanIgnoreReturnValue public long getAndIncrement(K key) { return getAndAdd(key, 1); } /** * Decrements by one the value currently associated with {@code key}, and returns the old value. */ @CanIgnoreReturnValue public long getAndDecrement(K key) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 11.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java
@CollectionSize.Require(absent = ZERO) public void testSetValue() { for (Entry<K, V> entry : getMap().entrySet()) { if (entry.getKey().equals(k0())) { assertEquals("entry.setValue() should return the old value", v0(), entry.setValue(v3())); break; } } expectReplacement(entry(k0(), v3())); } @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 6.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java
@CollectionSize.Require(absent = ZERO) public void testSetValue() { for (Entry<K, V> entry : getMap().entrySet()) { if (entry.getKey().equals(k0())) { assertEquals("entry.setValue() should return the old value", v0(), entry.setValue(v3())); break; } } expectReplacement(entry(k0(), v3())); } @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 6.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java
} } public void testBogusSystemPropertiesUsername() { if (isAndroid()) { /* * The test calls directly into the "ACL-based filesystem" code, which isn't available under * old versions of Android. Since Android doesn't use that code path, anyway, there's no need * to test it. */ return; } /*
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Oct 06 17:11:11 UTC 2023 - 4.3K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/GraphsBridgeMethods.java
package com.google.common.graph; import com.google.common.annotations.Beta; import java.util.Set; /** * Supertype for {@link Graphs}, containing the old signatures of methods whose signatures we've * changed. This provides binary compatibility for users who compiled against the old signatures. */ @Beta @ElementTypesAreNonnullByDefault abstract class GraphsBridgeMethods { @SuppressWarnings("PreferredInterfaceType")
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 14 19:31:40 UTC 2024 - 707 bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java
} /** * Increments by one the value currently associated with {@code key}, and returns the old value. */ @CanIgnoreReturnValue public long getAndIncrement(K key) { return getAndAdd(key, 1); } /** * Decrements by one the value currently associated with {@code key}, and returns the old value. */ @CanIgnoreReturnValue public long getAndDecrement(K key) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 14.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetAddTester.java
int originalCount = getMultiset().count(e0()); assertEquals("old count", originalCount, getMultiset().add(e0(), 0)); expectUnchanged(); } @CollectionFeature.Require(SUPPORTS_ADD) public void testAddOccurrences() { int originalCount = getMultiset().count(e0()); assertEquals("old count", originalCount, getMultiset().add(e0(), 2)); assertEquals("old count", originalCount + 2, getMultiset().count(e0())); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 09 20:10:38 UTC 2018 - 4.2K bytes - Viewed (0)