Home
last modified time | relevance | path

Searched refs:WrappedCallable (Results 1 – 2 of 2) sorted by relevance

/external/guava/guava-tests/test/com/google/common/util/concurrent/
DWrappingScheduledExecutorServiceTest.java65 private static final class WrappedCallable<T> implements Callable<T> { class in WrappingScheduledExecutorServiceTest
68 public WrappedCallable(Callable<T> delegate) { in WrappedCallable() method in WrappingScheduledExecutorServiceTest.WrappedCallable
98 return new WrappedCallable<T>(callable); in wrapTask()
135 assertTrue(callable instanceof WrappedCallable); in schedule()
DWrappingExecutorServiceTest.java150 private static final class WrappedCallable<T> implements Callable<T> { class in WrappingExecutorServiceTest
153 public WrappedCallable(Callable<T> delegate) { in WrappedCallable() method in WrappingExecutorServiceTest.WrappedCallable
183 return new WrappedCallable<T>(callable); in wrapTask()
274 assertTrue(task instanceof WrappedCallable); in submit()
301 Predicate<Object> p = Predicates.instanceOf(WrappedCallable.class); in assertTaskWrapped()