Hardcoded
Each call to newId will return the next ID in order of ids.
If newId is called once more than the number of IDs in ids, a NoSuchElementException will be thrown.
Each call to newId will return the next ID in order of ids.
If newId is called once more than the number of IDs in ids, a NoSuchElementException will be thrown.