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

Method update

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

Updates the local with the provided value. @param value value to set

(final T value)

Source from the content-addressed store, hash-verified

129 * @param value value to set
130 */
131 public final void update(final T value) {
132 set(Optional.of(value));
133 }
134
135 /**
136 * Sets the value of the local. It's similar to update but receives an

Callers 8

applyWithLocalMethod · 0.80
applyHandlerWithLocalMethod · 0.80
saveAndRestoreMethod · 0.80
updateAndGetMethod · 0.80
letSuccessMethod · 0.80
letFailureMethod · 0.80

Calls 1

setMethod · 0.95

Tested by 8

applyWithLocalMethod · 0.64
applyHandlerWithLocalMethod · 0.64
saveAndRestoreMethod · 0.64
updateAndGetMethod · 0.64
letSuccessMethod · 0.64
letFailureMethod · 0.64