|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jopt.js.spi.util.IDStore
A class that is accessed statically to ensure that resource ids are all unique
Constructor Summary | |
IDStore()
|
Method Summary | |
static int |
generateUniqueID()
Returns a unique ID that has not been used yet and registers the id as used |
static boolean |
registerID(int id)
A method to see if an id is valid (ie not used yet) |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public IDStore()
Method Detail |
public static boolean registerID(int id)
id
- id that we are verifying
public static int generateUniqueID()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |