/** * Parse integer from the string * * @param indexString the string which contains the index * @return the integer parsed from the string */ private int getIndex(String indexString) { final int ARRAY_OFFSET = -1; return StringHandler.parseStringToInteger(indexString) + ARRAY_OFFSET; }