Hardcoded

constructor(ids: Iterator<ObjectId>)(source)


constructor(ids: Iterable<ObjectId>)(source)

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.


constructor(vararg ids: ObjectId)(source)

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.