@Override
    public boolean equals(Object o) {
        if ( ! (o instanceof SelectedComponent<?> other)) return false;
        if ( ! Objects.equals(this.id, other.id)) return false;
        if ( ! Objects.equals(this.arguments, other.arguments)) return false;
        return true;
    }
A collection of components of a single type, of which one is selected.

@author bratseth
indexinglanguage/src/main/java/com/yahoo/vespa/indexinglanguage/expressions/SelectedComponent.java