- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for AbstractFuture (0.06 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
RuntimeException exception = new RuntimeException("you didn't say the magic word!"); AbstractFuture<String> evilFuture = new AbstractFuture<String>() { @Override public void addListener(Runnable r, Executor e) { throw exception; } }; AbstractFuture<String> normalFuture = new AbstractFuture<String>() {}; normalFuture.setFuture(evilFuture);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 46.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java
/** * Base class for tests for emulated {@link AbstractFuture} that allow subclasses to swap in a * different "source Future" for {@link AbstractFuture#setFuture} calls. */ @GwtCompatible @NullUnmarked abstract class AbstractAbstractFutureTest extends TestCase { private TestedFuture<Integer> future; private AbstractFuture<Integer> delegate; abstract AbstractFuture<Integer> newDelegate(); @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 15.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
RuntimeException exception = new RuntimeException("you didn't say the magic word!"); AbstractFuture<String> evilFuture = new AbstractFuture<String>() { @Override public void addListener(Runnable r, Executor e) { throw exception; } }; AbstractFuture<String> normalFuture = new AbstractFuture<String>() {}; normalFuture.setFuture(evilFuture);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 46.8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java
* * - Any kind of Error from a listener. Even if we could distinguish that case (by exposing some * extra state from AbstractFuture), our options are limited: A call to setException() would be * a no-op. We could log, but if that's what we really want, we should modify * AbstractFuture.executeListener to do so, since that method would have the ability to continue * to execute other listeners. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 20 18:03:37 UTC 2025 - 10.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java
} /** Constructor for use by {@link AbstractFuture}. */ AbstractFutureState() {} /* * We put various static objects here rather than in AbstractFuture so that they're initialized in * time for AbstractFutureState to potentially use them during class initialization. * (AbstractFutureState class initialization can log, and that logging could in theory call into
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 33.2K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractFutureState.java
} /** Constructor for use by {@link AbstractFuture}. */ AbstractFutureState() {} /* * We put various static objects here rather than in AbstractFuture so that they're initialized in * time for AbstractFutureState to potentially use them during class initialization. * (AbstractFutureState class initialization can log, and that logging could in theory call into
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 34.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java
* * - Any kind of Error from a listener. Even if we could distinguish that case (by exposing some * extra state from AbstractFuture), our options are limited: A call to setException() would be * a no-op. We could log, but if that's what we really want, we should modify * AbstractFuture.executeListener to do so, since that method would have the ability to continue * to execute other listeners. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 20 18:03:37 UTC 2025 - 10.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java
@CanIgnoreReturnValue boolean set(T t); @CanIgnoreReturnValue boolean setException(Throwable t); } private static class NewAbstractFutureFacade<T> extends AbstractFuture<T> implements Facade<T> { @CanIgnoreReturnValue @Override public boolean set(T t) { return super.set(t); } @CanIgnoreReturnValue @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jan 30 16:59:10 UTC 2025 - 13.7K bytes - Viewed (0) -
guava/src/com/google/common/hash/LittleEndianByteArray.java
} return JavaLittleEndianBytes.INSTANCE; } // Compare AbstractFuture.VarHandleAtomicHelperMaker. private enum VarHandleLittleEndianBytesMaker { INSTANCE { /** * Implementation used by non-J2ObjC environments (aside, of course, from those that have * supersource for the entirety of {@link AbstractFuture}). */ @Override @J2ObjCIncompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:49:18 UTC 2025 - 12.3K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java
} }; } }, ABSTRACT_FUTURE { @Override ExecutionListWrapper newExecutionList() { return new ExecutionListWrapper() { final AbstractFuture<?> future = new AbstractFuture<Object>() {}; @Override public void add(Runnable runnable, Executor executor) { future.addListener(runnable, executor); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 15.8K bytes - Viewed (0)