- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for _build (0.23 sec)
-
guava-tests/test/com/google/common/cache/LocalCacheTest.java
assertSame(t, popLoggedThrowable()); } /* * TODO(cpovirk): Can we replace makeLocalCache with a call to builder.build()? Some tests may * need access to LocalCache APIs, but maybe we can at least make makeLocalCache use * builder.build() and then cast? */ private static <K, V> LocalCache<K, V> makeLocalCache( CacheBuilder<? super K, ? super V> builder) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 14 23:06:48 GMT 2024 - 112.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
assertSame(t, popLoggedThrowable()); } /* * TODO(cpovirk): Can we replace makeLocalCache with a call to builder.build()? Some tests may * need access to LocalCache APIs, but maybe we can at least make makeLocalCache use * builder.build() and then cast? */ private static <K, V> LocalCache<K, V> makeLocalCache( CacheBuilder<? super K, ? super V> builder) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 14 23:06:48 GMT 2024 - 110.7K bytes - Viewed (0) -
guava/src/com/google/common/cache/LocalCache.java
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException { in.defaultReadObject(); CacheBuilder<K, V> builder = recreateCacheBuilder(); this.delegate = builder.build(); } private Object readResolve() { return delegate; } @Override protected Cache<K, V> delegate() { return delegate; } } /**
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/util/concurrent/FuturesTest.java
for (int i = 0; i < 500_000; i++) { builder.add(SettableFuture.<Long>create()); } ImmutableList<SettableFuture<Long>> inputs = builder.build(); ImmutableList<ListenableFuture<Long>> delegates = inCompletionOrder(inputs); for (ListenableFuture<?> delegate : delegates) { delegate.cancel(true); }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 144.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
for (int i = 0; i < 500_000; i++) { builder.add(SettableFuture.<Long>create()); } ImmutableList<SettableFuture<Long>> inputs = builder.build(); ImmutableList<ListenableFuture<Long>> delegates = inCompletionOrder(inputs); for (ListenableFuture<?> delegate : delegates) { delegate.cancel(true); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 144.5K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/LocalCache.java
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException { in.defaultReadObject(); CacheBuilder<K, V> builder = recreateCacheBuilder(); this.delegate = builder.build(); } private Object readResolve() { return delegate; } @Override protected Cache<K, V> delegate() { return delegate; } } /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 144.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
* AutoCloseable}. For users of the {@code -android} flavor, the object must be a {@code * Closeable}. (For more about the flavors, see <a * href="https://github.com/google/guava#adding-guava-to-your-build">Adding Guava to your * build</a>.) * * <p>Be careful when targeting an older SDK than you are building against (most commonly when * building for Android): Ensure that any object you pass implements the interface not just in
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 98.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Maps.java
} /** * Creates a <i>mutable</i>, empty {@code TreeMap} instance using the given comparator. * * <p><b>Note:</b> if mutability is not required, use {@code * ImmutableSortedMap.orderedBy(comparator).build()} instead. * * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead, * use the {@code TreeMap} constructor directly, taking advantage of <a
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 159.6K bytes - Viewed (0)