public static NodeList copyOf(List<Node> nodes) {
        if (nodes.isEmpty()) return EMPTY;
        return new NodeList(nodes, false);
    }
Returns the nodes of this as a stream
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/NodeList.java