@Override
    public boolean equals(final Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        final NodeFlagGroup that = (NodeFlagGroup) o;
        return Objects.equals(nodeFlags, that.nodeFlags);
    }
Adds nodeFlag to the provided flags set after removing the other members of this {@link NodeFlagGroup}

@param nodeFlag Flag to add
@param flags    Set to add to
stroom-core-shared/src/main/java/stroom/explorer/shared/NodeFlagGroup.java