MCPcopy Create free account
hub / github.com/traneio/future / apply

Method apply

future-java/src/main/java/io/trane/future/Local.java:94–96  ·  view source on GitHub ↗

Creates a new local value. @param the type of the local value. @return the local value

()

Source from the content-addressed store, hash-verified

92 * @return the local value
93 */
94 public static final <T> Local<T> apply() {
95 return new Local<>();
96 }
97
98 protected static final Optional<?>[] save() {
99 if (threadLocal == null)

Callers 9

applyWithLocalMethod · 0.95
applyHandlerWithLocalMethod · 0.95
becomeIfEmptyLocalsMethod · 0.95
LocalTestClass · 0.95
getFreshMethod · 0.95
multipleLocalsMethod · 0.95

Calls

no outgoing calls

Tested by 8

applyWithLocalMethod · 0.76
applyHandlerWithLocalMethod · 0.76
becomeIfEmptyLocalsMethod · 0.76
getFreshMethod · 0.76
multipleLocalsMethod · 0.76