// This is probably for use in Meta_v2 to get the most efficient // (read compact) implementation of typical meta scenarios. interface MutatingMap { // Non-mutating: bool isEmpty(); int size(); ItIt> iterator(); bool containsKey(A a); B get(A a); // hashCode/equals, not sure. // maybe we shouldn't even have value semantics here // Mutating: MutatingMap put(A a, B b); MutatingMap remove(A a); MutatingMap putAll(Map map); MutatingMap putAll(MutatingMap map); MutatingMap clear(); }