software/browser-util/src/gov/nih/nci/evs/browser/utils/ScoredIterator.java
/**
     * Returns the next 'n' items and advances the cursor.
     */
Returns the next 'n' items and advances the cursor.
Returns the next ' n ' items and advances the cursor .
public ResolvedConceptReferenceList next(int maxToReturn)
            throws LBResourceUnavailableException, LBInvocationException {
        verifyResources();
        ResolvedConceptReferenceList result = null;
        try {
            int pageSize =
                Math.max(0, Math.min(maxToReturn, numberRemaining()));
            result = get(_position, _position + pageSize);
            _position += pageSize;
        } catch (LBParameterException e) {
            result = new ResolvedConceptReferenceList();
            e.printStackTrace();
        }
        return result;
    }
public ResolvedConceptReferenceList next ( int maxToReturn ) throws LBResourceUnavailableException , LBInvocationException { verifyResources ( ) ; ResolvedConceptReferenceList result = null ; try { int pageSize = Math . max ( 0 , Math . min ( maxToReturn , numberRemaining ( ) ) ) ; result = get ( _position , _position + pageSize ) ; _position += pageSize ; } catch ( LBParameterException e ) { result = new ResolvedConceptReferenceList ( ) ; e . printStackTrace ( ) ; } return result ; }
Returns the next 'n' items and advances the cursor.
Returns the next ' n ' items and advances the cursor .