I have these two methods:
@Override
public void done(E e, Map.Entry<String, T> m) {
}
@Override
public void done(E e, String k, T v) {
this.done(e, null);
}
instead of passing null, how can I create a new Map.Entry? I tried:
this.done(e, Map.of(k,v));
but that creates a Map not a Map.Entry.