Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
POI HSSFRowrow.getLastCellNum()和in 有什么区别?row.getNoOfPhysicalCell()或者他们是一样的?
row.getLastCellNum()
row.getNoOfPhysicalCell()
获取最后一个单元格数()
获取此行中包含的最后一个单元格的索引 PLUS ONE
getPhysicalNumberOfCells()
获取已定义单元格的数量(不是实际行中的单元格数量!)。也就是说,如果只有 0、4、5 列有值,那么就会有 3 个。