Need ideas for converting below loop into streams. I am new to java 8 streams and learning practically how it will implemented.
for (int i=0; i < headerNames.size(); i++){
XSSFCell cell = headerRow.createCell(i);
cell.setCellValue(headerNames.get(i));
}