RawrUniversal / xerial

Automatically exported from code.google.com/p/xerial
0 stars 1 forks source link

Setting map elements by Lens #29

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Please describe a summary of the new feature (in a paragraph):

Add a feature for mapping a (key, value) pair, i.e. relation, to an object. 

For example, given a class definition,

class A {
 public Map<Integer, String> id_name;
}

and Silk data,

-id: 1 
 -name: leo
-id: 2
 -name: yui

Lens.loadSilk(A.class, ...) will invoke the put method two times:

id_name.put(1, "leo");
id_name.put(2, "yui");

Please provide any additional information below:

Original issue reported on code.google.com by taroleo on 11 Sep 2009 at 2:13

GoogleCodeExporter commented 8 years ago
done in [3578]

Original comment by taroleo on 11 Sep 2009 at 3:10