OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:checkedget
(Results
1 - 8
of
8
) 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/
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 {
CheckedFuture.java
63
V
checkedGet
() throws X;
75
V
checkedGet
(long timeout, TimeUnit unit) throws TimeoutException, X;
Futures.java
102
*
checkedGet
()} will immediately return the provided value.
142
* ExecutionException}, and calling {@code
checkedGet
()} will throw the
[
all
...]
/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
();
/prebuilt/common/tradefed/
tradefed-prebuilt.jar
Completed in 212 milliseconds