Package de.hsh.graja.util
Class IdGenerator
- java.lang.Object
-
- de.hsh.graja.util.IdGenerator
-
public class IdGenerator extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IdGenerator
get()
static IdGenerator
get(String key)
String
nextSeeded()
static String
nextUnseeded()
void
resetSeeded()
-
-
-
Method Detail
-
get
public static IdGenerator get(String key)
-
get
public static IdGenerator get()
-
resetSeeded
public void resetSeeded()
-
nextSeeded
public String nextSeeded()
- Returns:
- the prefix "i" plus a 32 places wide hexadecimal random number.
-
nextUnseeded
public static String nextUnseeded()
- Returns:
- the prefix "i" plus a 32 places wide hexadecimal random number.
-
-