/** * Sets the {@code _first} child of this {@link AMapCompMapExp} node. * @param value the new {@code _first} child of this {@link AMapCompMapExp} node */ public void setFirst(AMapletExp value) { if (this._first != null) { this._first.parent(null); } if (value != null) { if (value.parent() != null) { value.parent().removeChild(value); } value.parent(this); } this._first = value; }