@Override
    public void copyTo(Collection<? super Node> collection) {
        for (SortedSet<Node> values : map().values()) {
            collection.addAll(values);
        }
    }
Base implementation of {@link NodeMap} query methods.
common/src/main/java/me/lucko/luckperms/common/model/nodemap/NodeMapBase.java