- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for supply (0.15 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
} @Override public O apply(I input) { applyCount++; return delegate.apply(input); } void verifyCallCount(int expected) { assertThat(applyCount).isEqualTo(expected); } } private static <X extends Throwable, V> Function<X, V> unexpectedFunction() { return new Function<X, V>() { @Override public V apply(X t) {
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) -
guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
} @Override public O apply(I input) { applyCount++; return delegate.apply(input); } void verifyCallCount(int expected) { assertThat(applyCount).isEqualTo(expected); } } private static <X extends Throwable, V> Function<X, V> unexpectedFunction() { return new Function<X, V>() { @Override public V apply(X t) {
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) -
guava/src/com/google/common/cache/LocalCache.java
return compute(key, (k, oldValue) -> (oldValue == null) ? function.apply(key) : oldValue); } @Override @CheckForNull public V computeIfPresent( K key, BiFunction<? super K, ? super V, ? extends @Nullable V> function) { checkNotNull(key); checkNotNull(function); return compute(key, (k, oldValue) -> (oldValue == null) ? null : function.apply(k, oldValue)); } @Override @CheckForNull
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) -
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
checkNotNull(function); return new AsyncClosingFunction<V, U>() { @Override public ClosingFuture<U> apply(DeferredCloser closer, V input) throws Exception { return ClosingFuture.from(function.apply(input)); } }; } /** * Returns a new {@code ClosingFuture} pipeline step derived from this one by applying a function
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
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) -
android/guava/src/com/google/common/cache/LocalCache.java
@Override public ImmutableMap<K, V> getAll(Iterable<? extends K> keys) throws ExecutionException { return autoDelegate.getAll(keys); } @Override public V apply(K key) { return autoDelegate.apply(key); } @Override public void refresh(K key) { autoDelegate.refresh(key); } private Object readResolve() { return autoDelegate;
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) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
return isExists; } /** * Tests to see if the file this <code>SmbFile</code> represents can be * read. Because any file, directory, or other resource can be read if it * exists, this method simply calls the <code>exists</code> method. * * @return <code>true</code> if the file is read-only */ public boolean canRead() throws SmbException {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Mon Mar 13 12:00:57 GMT 2023 - 107.9K bytes - Viewed (2)