@Override
    public boolean equals(Object other) {
        if (other == this) return true;
        if ( ! (other instanceof NodeList)) return false;
        return this.asList().equals(((NodeList) other).asList());
    }
Returns the nodes of this as a stream
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/NodeList.java