Hi, I saw this http://iteratrlearning.com/java9/2016/11/09/java9-collection-factory-methods Creating maps will become easier (less typing) in java 9.
Cheers Pieter On 20/09/2016 18:49, Stephen Mallette wrote: > Anyone interested in seeing a Graph.addVertex(Map) overload? > > https://issues.apache.org/jira/browse/TINKERPOP-1174 > > I don't imagine there would be any change to addV() in this case. I'm > thinking that we wouldn't likely use this method internally and so it would > more be something for user convenience, in which case, it seems to > encourage more use of the Graph API which we're typically trying to do less > of. >