MCPcopy Create free account
hub / github.com/Card-Forge/forge / set

Method set

forge-core/src/main/java/forge/util/Settable.java:23–27  ·  view source on GitHub ↗

Set this instance. Any subsequent calls on #isSet() will return true. @return whether the value changed as a result of this call.

()

Source from the content-addressed store, hash-verified

21 * @return whether the value changed as a result of this call.
22 */
23 public synchronized boolean set() {
24 final boolean wasUnset = !isSet;
25 isSet = true;
26 return wasUnset;
27 }
28
29 /**
30 * Check whether this instance has already been set. If {@link #set()} was

Callers 8

setDateConstraintMethod · 0.45
accumulateMethod · 0.45
randomMethod · 0.45
sortCreatureSpellsMethod · 0.45
withAiControllerMethod · 0.45
chooseNumberMethod · 0.45
getBestPlanMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected