- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for description (0.35 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java
/** A collection of elements to retain, along with a description for use in failure messages. */ private class Target { private final Collection<E> toRetain; private final String description; private Target(Collection<E> toRetain, String description) { this.toRetain = toRetain; this.description = description; } @Override public String toString() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 10.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java
/** A collection of elements to retain, along with a description for use in failure messages. */ private class Target { private final Collection<E> toRetain; private final String description; private Target(Collection<E> toRetain, String description) { this.toRetain = toRetain; this.description = description; } @Override public String toString() {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 10.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multimap.java
/** * Removes a single key-value pair with the key {@code key} and the value {@code value} from this * multimap, if such exists. If multiple key-value pairs in the multimap fit this description, * which one is removed is unspecified. * * @return {@code true} if the multimap changed */ @CanIgnoreReturnValue boolean remove( @CompatibleWith("K") @CheckForNull Object key,
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Sat Jun 17 14:40:53 GMT 2023 - 15.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashSet.java
* implementation. Experimentally determined. */ private static final int MAX_HASH_BUCKET_LENGTH = 9; // See CompactHashMap for a detailed description of how the following fields work. That // description talks about `keys`, `values`, and `entries`; here the `keys` and `values` arrays // are replaced by a single `elements` array but everything else works similarly. /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 05 21:38:59 GMT 2024 - 24K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFuture.java
* Often called multiple times (that is, both when the inputs complete and when the output * completes). * * <p>This is similar to our proposed {@code afterCommit} method but not quite the same. See the * description of CL 265462958. */ // TODO(user): Write more tests for memory retention. @ForOverride @OverridingMethodsMustInvokeSuper void releaseResources(ReleaseResourcesReason reason) { checkNotNull(reason);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 01 21:46:34 GMT 2024 - 15.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/Helpers.java
List<?> exp = copyToList(expected); List<?> act = copyToList(actual); String actString = act.toString(); // Of course we could take pains to give the complete description of the // problem on any failure. // Yeah it's n^2. for (Object object : exp) { if (!act.remove(object)) { Assert.fail( "did not contain expected element "
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 17.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/DiscreteDomain.java
import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.io.Serializable; import java.math.BigInteger; import java.util.NoSuchElementException; import javax.annotation.CheckForNull; /** * A descriptor for a <i>discrete</i> {@code Comparable} domain such as all {@link Integer} * instances. A discrete domain is one that supports the three basic operations: {@link #next},
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 10.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
* * @param <K> the type of keys used by the maps under test * @param <V> the type of mapped values used the maps under test * @author George van den Driessche */ // TODO: Descriptive assertion messages, with hints as to probable fixes. // TODO: Add another constructor parameter indicating whether the class under test is ordered, and // check the order if so.
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 45.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri May 12 19:22:18 GMT 2023 - 17.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java
private enum MyOrder { FIRST, SECOND, THIRD; } private enum OtherOrder { FIRST, SECOND, THIRD; } // Given a sequence of lock acquisition descriptions // (e.g. "LockA -> LockB", "LockB -> LockC", ...) // Checks that the exception.getMessage() matches a regex of the form: // "LockA -> LockB \b.*\b LockB -> LockC \b.*\b LockC -> LockA"
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 16.1K bytes - Viewed (0)