Hi Niels,

Ignoring the operational use for getting relationship types, I do think these 
should be generalised from:

> RelationshipType[] getRelationshipTypes();
> RelationshipType[] getRelationshipTypes(Direction);

to:

Set<RelationshipType> getRelationshipTypes();
Set<RelationshipType> getgetRelationshipTypes(Direction);

Unless you need the ordering and you think the overhead of creating a some kind 
of Set is too onerous from a performance point of view.

Jim
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to