code: @Override
  	protected MemorySegment nextSegment(MemorySegment current, int positionInCurrent) throws EOFException
  	{	
  		final MemorySegment next = this.memorySource.nextSegment();
  		if (next != null) {
  			this.fullSegments.add(next);
  			this.segmentNum++;
  			return next;
  		} else {
  			throw new EOFException();
  		}
  	}
docs: /* (non-Javadoc)
  @see eu.stratosphere.nephele.services.memorymanager.AbstractPagedOutputView#nextSegment(eu.stratosphere.nephele.services.memorymanager.MemorySegment, int)