Something like this:
class BTreeMap[Key, Val] : Map[Key, Val] {
Val get(Key key) { ... }
Val oper []=(Key key, Val val){ ... }
};
m := BTreeMap[String, Int]();
m['test'] = 100; # assuming we get auto-boxing
Original issue reported on code.google.com by mind...@gmail.com on 12 Sep 2010 at 2:53
Original issue reported on code.google.com by
mind...@gmail.com
on 12 Sep 2010 at 2:53