- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 61 for expose (0.16 sec)
-
guava/src/com/google/common/cache/ForwardingLoadingCache.java
* href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. * * <p>Note that {@link #get}, {@link #getUnchecked}, and {@link #apply} all expose the same * underlying functionality, so should probably be overridden as a group. * * @author Charles Fry * @since 11.0 */ @GwtIncompatible @ElementTypesAreNonnullByDefault
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Sat Aug 06 17:12:03 GMT 2022 - 2.9K bytes - Viewed (1) -
android/guava/src/com/google/common/cache/ForwardingLoadingCache.java
* href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. * * <p>Note that {@link #get}, {@link #getUnchecked}, and {@link #apply} all expose the same * underlying functionality, so should probably be overridden as a group. * * @author Charles Fry * @since 11.0 */ @GwtIncompatible @ElementTypesAreNonnullByDefault
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Sat Aug 06 17:12:03 GMT 2022 - 2.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java
* exceptions whenever it can. * * @author Kevin Bourrillion */ @GwtCompatible @ElementTypesAreNonnullByDefault public class MinimalCollection<E extends @Nullable Object> extends AbstractCollection<E> { // TODO: expose allow nulls parameter? public static <E extends @Nullable Object> MinimalCollection<E> of(E... contents) { return new MinimalCollection<>(Object.class, true, contents); } // TODO: use this
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 3.8K bytes - Viewed (0) -
futures/failureaccess/src/com/google/common/util/concurrent/internal/InternalFutureFailureAccess.java
* return value of this method as its cause * </ul> * * <p>This method is {@code protected} so that classes like {@code * com.google.common.util.concurrent.SettableFuture} do not expose it to their users as an * instance method. In the unlikely event that you need to call this method, call {@link * InternalFutures#tryInternalFastPathGetFailure(InternalFutureFailureAccess)}. */ protected abstract
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 04 09:45:04 GMT 2023 - 2.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
* * <p>This particular order of operations may be unrealistic, and testing all 3^5 of them may be * thought of as overkill; however, it's difficult to determine which proper subset of this massive * set would be sufficient to expose any possible bug. Brute force is simpler. * * <p>To use this class the concrete subclass must implement the {@link * IteratorTester#newTargetIterator()} method. This is because it's impossible to test an Iterator
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 4.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java
} // wait for entries to expire, but don't call expireEntries ticker.advance(EXPIRING_TIME * 10, MILLISECONDS); // add a single unexpired entry cache.getUnchecked(KEY_PREFIX + 11); // collections views shouldn't expose expired entries assertEquals(1, Iterators.size(cache.asMap().entrySet().iterator()));
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Aug 05 17:21:46 GMT 2022 - 18.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java
* 2. visibility of the writes to an afterDone() call triggered by cancel(): * * Since these fields are non-final that means that TimeoutFuture is not being 'safely published', * thus a motivated caller may be able to expose the reference to another thread that would then * call cancel() and be unable to cancel the delegate. * There are a number of ways to solve this, none of which are very pretty, and it is currently
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 01 21:46:34 GMT 2024 - 7.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java
* exceptions whenever it can. * * @author Kevin Bourrillion */ @GwtCompatible @ElementTypesAreNonnullByDefault public class MinimalCollection<E extends @Nullable Object> extends AbstractCollection<E> { // TODO: expose allow nulls parameter? public static <E extends @Nullable Object> MinimalCollection<E> of(E... contents) { return new MinimalCollection<>(Object.class, true, contents); } // TODO: use this
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 3.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
try { ImmutableDoubleArray.builder(-1); fail(); } catch (IllegalArgumentException expected) { } } /** * If there's a bug in builder growth, we wouldn't know how to expose it. So, brute force the hell * out of it for a while and see what happens. */ public void testBuilder_bruteForce() { for (int i = 0; i < reduceIterationsIfGwt(100); i++) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jun 06 15:23:21 GMT 2023 - 20K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java
try { ImmutableLongArray.builder(-1); fail(); } catch (IllegalArgumentException expected) { } } /** * If there's a bug in builder growth, we wouldn't know how to expose it. So, brute force the hell * out of it for a while and see what happens. */ public void testBuilder_bruteForce() { for (int i = 0; i < reduceIterationsIfGwt(100); i++) {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Jun 01 09:32:35 GMT 2023 - 20.2K bytes - Viewed (0)