HomeSort by relevance Sort by last modified time
    Searched refs:checkedGet (Results 1 - 14 of 14) sorted by null

  /external/guava/guava-tests/test/com/google/common/util/concurrent/
ForwardingCheckedFutureTest.java 49 expect(delegate.checkedGet()).andReturn(VALUE).times(2);
51 assertEquals(VALUE, forwarded.checkedGet());
52 assertEquals(VALUE, simple.checkedGet());
57 expect(delegate.checkedGet(100, TIME_UNIT)).andReturn(VALUE).times(2);
59 assertEquals(VALUE, forwarded.checkedGet(100, TIME_UNIT));
60 assertEquals(VALUE, simple.checkedGet(100, TIME_UNIT));
66 expect(delegate.checkedGet(100, TIME_UNIT))
70 forwarded.checkedGet(100, TIME_UNIT);
74 simple.checkedGet(100, TIME_UNIT);
82 expect(delegate.checkedGet()).andThrow(expected).times(2)
    [all...]
FuturesTest.java 133 assertSame(DATA1, future.checkedGet(0L, TimeUnit.MILLISECONDS));
144 assertSame(DATA1, future1.checkedGet(0L, TimeUnit.MILLISECONDS));
146 assertSame(DATA2, future2.checkedGet(0L, TimeUnit.MILLISECONDS));
163 future.checkedGet(0L, TimeUnit.MILLISECONDS);
    [all...]
  /external/guava/guava/src/com/google/common/util/concurrent/
CheckedFuture.java 63 V checkedGet() throws X;
75 V checkedGet(long timeout, TimeUnit unit) throws TimeoutException, X;
ForwardingCheckedFuture.java 35 * {@code checkedGet} method
45 public V checkedGet() throws X {
46 return delegate().checkedGet();
50 public V checkedGet(long timeout, TimeUnit unit) throws TimeoutException, X {
51 return delegate().checkedGet(timeout, unit);
AbstractCheckedFuture.java 28 * the {@link #checkedGet()} and {@link #checkedGet(long, TimeUnit)} methods.
48 * {@code checkedGet}. Subclasses must implement this method.
51 * {@code checkedGet} method has already restored the interrupt after catching
76 public V checkedGet() throws X {
105 public V checkedGet(long timeout, TimeUnit unit) throws TimeoutException, X {
  /external/guava/guava-testlib/src/com/google/common/util/concurrent/testing/
AbstractCheckedFutureTest.java 27 * Test case to make sure the {@link CheckedFuture#checkedGet()} and
28 * {@link CheckedFuture#checkedGet(long, TimeUnit)} methods work correctly.
65 * Tests that the {@link CheckedFuture#checkedGet()} method throws the correct
84 future.checkedGet();
112 future.checkedGet();
148 future.checkedGet();
  /prebuilts/misc/common/tradefed/
tradefed-prebuilt.jar 
  /prebuilts/sdk/tools/lib/
guava-10.0.1.jar 
lint.jar 
lint_api.jar 
lint_checks.jar 
lombok-ast-0.2.jar 
  /prebuilts/tools/common/guava-tools/
guava-13.0.1.jar 
  /prebuilts/tools/common/lombok-ast/
lombok-ast-0.2.jar 

Completed in 2495 milliseconds