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