@Override
  public Cell getCell(int cellnum, MissingCellPolicy policy) {
    StreamingCell cell = (StreamingCell) cellMap.get(cellnum);
    if(policy == MissingCellPolicy.CREATE_NULL_AS_BLANK) {
      if(cell == null) { return new StreamingCell(cellnum, rowIndex, false); }
    } else if(policy == MissingCellPolicy.RETURN_BLANK_AS_NULL) {
      if(cell == null || cell.getCellTypeEnum() == CellType.BLANK) { return null; }
    }
    return cell;
  }
@ Override public Cell getCell ( int cellnum , MissingCellPolicy policy ) { StreamingCell cell = ( StreamingCell ) cellMap . get ( cellnum ) ; if ( policy == MissingCellPolicy . CREATE_NULL_AS_BLANK ) { if ( cell == null ) { return new StreamingCell ( cellnum , rowIndex , false ) ; } } else if ( policy == MissingCellPolicy . RETURN_BLANK_AS_NULL ) { if ( cell == null || cell . getCellTypeEnum ( ) == CellType . BLANK ) { return null ; } } return cell ; }
{@inheritDoc}