- java.lang.Object
-
- org.apache.poi.ooxml.util.IdentifierManager
-
-
Field Summary
Fields
Modifier and Type |
Field and Description |
static long |
MAX_ID |
static long |
MIN_ID |
-
Constructor Summary
Constructors
Constructor and Description |
IdentifierManager(long lowerbound,
long upperbound) |
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
reserveNew
public long reserveNew()
- Returns:
- a new identifier.
- Throws:
java.lang.IllegalStateException
- if no more identifiers are available, then an Exception is raised.
Copyright 2022 The Apache Software Foundation or
its licensors, as applicable.