- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 148 for mhevery (0.14 sec)
-
android/guava/src/com/google/common/base/Converter.java
*/ public abstract class Converter<A, B> implements Function<A, B> { private final boolean handleNullAutomatically; // We lazily cache the reverse view to avoid allocating on every call to reverse(). @LazyInit @RetainedWith @CheckForNull private transient Converter<B, A> reverse; /** Constructor for use by subclasses. */ protected Converter() { this(true); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 23K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
assertFalse(entrySet.contains("foo")); } /** * Override this to check invariants which should hold true for a particular implementation, but * which are not generally applicable to every instance of Map. * * @param map the map whose additional invariants to check. */ protected void assertMoreInvariants(Map<K, V> map) {} public void testClear() { Map<K, V> map; try {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 45.9K bytes - Viewed (2) -
android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
* AbstractMapBasedMultimap} calls {@link #createCollection()} to create the collection of values * for that key. The subclass should not call {@link #createCollection()} directly, and a new * instance should be created every time the method is called. * * <p>For example, the subclass could pass a {@link java.util.TreeMap} during construction, and * {@link #createCollection()} could return a {@link java.util.TreeSet}, in which case the
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Oct 13 14:11:58 GMT 2023 - 46.6K bytes - Viewed (0) -
guava/src/com/google/common/cache/LocalCache.java
} /** * Notifies listeners that an entry has been automatically removed due to expiration, eviction, or * eligibility for garbage collection. This should be called every time expireEntries or * evictEntry is called (once the lock is released). */ void processPendingNotifications() { RemovalNotification<K, V> notification;
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 150.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/TestingCacheLoaders.java
throw e; } }; } /** Returns a {@link CacheLoader} that returns the key for every request. */ static <T> IdentityLoader<T> identityLoader() { return new IdentityLoader<T>(); } /** * Returns a {@code new Object()} for every request, and increments a counter for every request. * The count is accessible via {@link #getCount}. */
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed May 09 15:17:25 GMT 2018 - 4.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
// launched by this test is either: // // (a) Blocked attempting to enter the monitor. // (b) Waiting for the single guard to become satisfied. // (c) Occupying the monitor and awaiting the tearDownLatch. // // Except for (c), every thread should occupy the monitor very briefly, and every thread leaves
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Apr 17 14:48:57 GMT 2023 - 27.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ServiceTest.java
/** Unit tests for {@link Service} */ public class ServiceTest extends TestCase { /** Assert on the comparison ordering of the State enum since we guarantee it. */ public void testStateOrdering() { // List every valid (direct) state transition. assertLessThan(NEW, STARTING); assertLessThan(NEW, TERMINATED); assertLessThan(STARTING, RUNNING); assertLessThan(STARTING, STOPPING); assertLessThan(STARTING, FAILED);
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 1.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/TestingWeighers.java
/** * Utility {@link Weigher} implementations intended for use in testing. * * @author Charles Fry */ public class TestingWeighers { /** Returns a {@link Weigher} that returns the given {@code constant} for every request. */ static Weigher<Object, Object> constantWeigher(int constant) { return new ConstantWeigher(constant); } /** Returns a {@link Weigher} that uses the integer key as the weight. */
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 1.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java
@SuppressWarnings("unchecked") protected B self() { return (B) this; } // Test Data private @Nullable G subjectGenerator; // Gets run before every test. private Runnable setUp; // Gets run at the conclusion of every test. private Runnable tearDown; @CanIgnoreReturnValue protected B usingGenerator(G subjectGenerator) { this.subjectGenerator = subjectGenerator; return self();
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 10.2K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/GwtFuturesCatchingSpecialization.java
*/ @ElementTypesAreNonnullByDefault abstract class GwtFuturesCatchingSpecialization { /* * In the GWT versions of the methods (below), every exceptionType parameter is required to be * Class<Throwable>. To handle only certain kinds of exceptions under GWT, you'll need to write * your own instanceof tests. */
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Dec 08 20:30:27 GMT 2022 - 2K bytes - Viewed (0)