220221222223224225226
iter = tailPath.relationships().iterator(); for ( int i = relationships.length - 1; iter.hasNext(); i-- ) { relationships[i] = iter.next(); } return new FinalTraversalBranch( tailPath.startNode(), relationships ); }