kevoree-modeling / framework

The Kevoree Modeling Framework
http://modeling.kevoree.org
GNU General Public License v3.0
42 stars 6 forks source link

GroupBy after the traverse #11

Open jejemontagne opened 9 years ago

jejemontagne commented 9 years ago

Add a feature allowing to group the result after chained "traverses" according to a given function like the following example:

The GroupBy takes two parameters :

Obj.traversal().travserse(REF_SUBOBJ1).travserse(REF_SUBOBJ2).groupBy( element -> {return element.uuid();} , KCallback(){ DO });}