}), m);
}
public void test_g_V_outXcreatedX_groupCountXm__name__plus_2X() {
Map<String, Number> m = new HashMap<String, Number>();
super.test_g_V_outXcreatedX_groupCountXm__name__plus_2X(new GremlinPipeline(g).V().out("created").groupCount(m,
new PipeFunction<Vertex, String>() {
public String compute(Vertex vertex) {
return (String) vertex.getProperty("name");
}
},
new PipeFunction<Pair<?, Number>, Number>() {
public Number compute(Pair<?, Number> arg) {
return arg.getB().longValue() + 2l;
}
}
), m);
m = new HashMap<String, Number>();
super.test_g_V_outXcreatedX_groupCountXm__name__plus_2X(new GremlinPipeline(g.getVertices()).optimize(false).out("created").groupCount(m,
new PipeFunction<Vertex, String>() {
public String compute(Vertex vertex) {
return (String) vertex.getProperty("name");
}
},