public LocalezeParser(LocalezeParserUtils Lparserutils) { parserutils = Lparserutils; mappedExistingIDs = parserutils.getIDMap(); existingWhereIDs = mappedExistingIDs.getValues(); // find whereid max for (int i = 0; i < existingWhereIDs.length; i++) if (existingWhereIDs[i] > startId_) startId_ = i; System.out.println("Max of existing whereids is: " + startId_); }