static <A, B> Map.Entry<A, B> simpleMapEntry(A key, B value) { ret new Map.Entry<A, B>() { public A getKey() { ret key; } public B getValue() { ret value; } unimplemented public B setValue(B newValue); }; }