1 17 package org.alfresco.repo.search.impl.lucene; 18 19 import org.alfresco.repo.search.AbstractResultSetRowIterator; 20 import org.alfresco.service.cmr.search.ResultSetRow; 21 22 28 public class LuceneResultSetRowIterator extends AbstractResultSetRowIterator 29 { 30 36 public LuceneResultSetRowIterator(LuceneResultSet resultSet) 37 { 38 super(resultSet); 39 } 40 41 public ResultSetRow next() 42 { 43 return new LuceneResultSetRow((LuceneResultSet)getResultSet(), moveToNextPosition()); 44 } 45 46 public ResultSetRow previous() 47 { 48 return new LuceneResultSetRow((LuceneResultSet)getResultSet(), moveToPreviousPosition()); 49 } 50 } 51 | Popular Tags |