@Override
    public Map<ImmutableContextSet, Collection<Node>> asMap() {
        Map<ImmutableContextSet, Collection<Node>> map = new HashMap<>();
        for (Map.Entry<ImmutableContextSet, SortedSet<Node>> e : map().entrySet()) {
            map.put(e.getKey(), new ArrayList<>(e.getValue()));
        }
        return map;
    }
Base implementation of {@link NodeMap} query methods.
common/src/main/java/me/lucko/luckperms/common/model/nodemap/NodeMapBase.java