return elements.values();
}
public static PatternMatch merge( Iterable<PatternMatch> matches )
{
Map<PatternNode, PatternElement> matchMap =
<BUG>new HashMap<PatternNode, PatternElement>();
for ( PatternMatch match : matches )</BUG>
{
for ( PatternNode node : match.elements.keySet() )
{

return elements.values();
}
public static PatternMatch merge( Iterable<PatternMatch> matches )
{
Map<PatternNode, PatternElement> matchMap =
new HashMap<PatternNode, PatternElement>();
Map<PatternRelationship, Relationship> relElements =
new HashMap<PatternRelationship, Relationship>();
for ( PatternMatch match : matches )
{
for ( PatternNode node : match.elements.keySet() )
{
