235236237238239240241242243244245
break; } // writing down relations while (!entries.isEmpty()) { Object[] entry = entries.pop(); rt.relationships((RelationshipType) entry[0], (Direction) entry[1]); } return rt; }