title: How to get the position/index of a Sheet object in Java Apache POI
body: <p>In a Java method, I am using an Apache POI Sheet (from <code>XSSFWorkbook</code>). I can read the sheet name using <code>getSheetName()</code> method. But is there any way to find the sheet position in the workbook? I don't see any methods like <code>getSheetIndex()</code> in the <a href="https://poi.apache.org/apidocs/" rel="nofollow noreferrer">Sheet interface</a>.</p>