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