474849505152535455
@Override protected SubGraphIterator wrapIterator( ExpressionSubGraphIterator expressionIterator ) { if( !includeRemainders ) return new UniquePathSubGraphIterator( expressionIterator ); return new IncludeRemainderSubGraphIterator( new UniquePathSubGraphIterator( expressionIterator ) ); }