- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 565 for present (1.16 sec)
-
guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java
public class MultisetSetCountConditionallyTester<E> extends AbstractMultisetSetCountTester<E> { @Override void setCountCheckReturnValue(E element, int count) { assertTrue( "setCount() with the correct expected present count should return true", setCount(element, count)); } @Override void setCountNoCheckReturnValue(E element, int count) { setCount(element, count); } @CanIgnoreReturnValue
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java
/** Return type from "contains the following elements" assertions. */ public interface Ordered { /** * Attests that the expected values must not just be present but must be present in the order * they were given. */ void inOrder(); } @IgnoreJRERequirement // *should* be redundant with the annotation on SpliteratorTester
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:07:06 UTC 2025 - 12.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java
/** Return type from "contains the following elements" assertions. */ public interface Ordered { /** * Attests that the expected values must not just be present but must be present in the order * they were given. */ void inOrder(); } private abstract static class GeneralSpliterator<E extends @Nullable Object> { final Spliterator<E> spliterator;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 12.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetReadsTester.java
public void testElementSet_contains() { assertTrue( "multiset.elementSet().contains(present) returned false", getMultiset().elementSet().contains(e0())); } @CollectionSize.Require(absent = ZERO) public void testEntrySet_contains() { assertTrue( "multiset.entrySet() didn't contain [present, 1]", getMultiset().entrySet().contains(Multisets.immutableEntry(e0(), 1))); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetReadsTester.java
public void testElementSet_contains() { assertTrue( "multiset.elementSet().contains(present) returned false", getMultiset().elementSet().contains(e0())); } @CollectionSize.Require(absent = ZERO) public void testEntrySet_contains() { assertTrue( "multiset.entrySet() didn't contain [present, 1]", getMultiset().entrySet().contains(Multisets.immutableEntry(e0(), 1))); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapGetOrDefaultTester.java
public void testGetOrDefault_present() { assertEquals( "getOrDefault(present, def) should return the associated value", v0(), getMap().getOrDefault(k0(), v3())); } @CollectionSize.Require(absent = ZERO) public void testGetOrDefault_presentNullDefault() { assertEquals( "getOrDefault(present, null) should return the associated value", v0(),
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 4.4K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedInts.java
return -1; } else { return (int) value; } } /** * Returns the least value present in {@code array}, treating values as unsigned. * * @param array a <i>nonempty</i> array of unsigned {@code int} values * @return the value present in {@code array} that is less than or equal to every other value in * the array according to {@link #compare}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Feb 09 16:22:33 UTC 2025 - 13.8K bytes - Viewed (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt
if (logHeaders) { val headers = request.headers if (requestBody != null) { // Request body headers are only present when installed as a network interceptor. When not // already present, force them to be included (if available) so their values are known. requestBody.contentType()?.let { if (headers["Content-Type"] == null) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 21 14:27:04 UTC 2025 - 11.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java
expectUnchanged(); } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testComputeIfPresent_supportedPresent() { assertEquals( "computeIfPresent(present, function) should return new value", v3(), getMap() .computeIfPresent( k0(), (k, v) -> { assertEquals(k0(), k);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 6.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java
expectUnchanged(); } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testComputeIfPresent_supportedPresent() { assertEquals( "computeIfPresent(present, function) should return new value", v3(), getMap() .computeIfPresent( k0(), (k, v) -> { assertEquals(k0(), k);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 6.1K bytes - Viewed (0)