Merge two Capabilities together and return the union of the two as a new Capabilities instance. Capabilities from other will override those in this.
(Capabilities other)
| 100 | * Capabilities} instance. Capabilities from {@code other} will override those in {@code this}. |
| 101 | */ |
| 102 | default Capabilities merge(Capabilities other) { |
| 103 | return new ImmutableCapabilities(new MutableCapabilities(this).merge(other)); |
| 104 | } |
| 105 |
no outgoing calls