Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/traneio/future
/ value
Method
value
future-java/src/test/java/io/trane/future/FutureTest.java:92–97 ·
view source on GitHub ↗
value
()
Source
from the content-addressed store, hash-verified
90
/*** value ***/
91
92
@Test
93
public
void
value() throws CheckedFutureException {
94
Integer value = 1;
95
Future<Integer> future = Future.value(value);
96
assertEquals(value, get(future));
97
}
98
99
/*** exception ***/
100
Callers
nothing calls this directly
Calls
2
value
Method · 0.95
get
Method · 0.95
Tested by
no test coverage detected