Package fr.paris.lutece.util
Class UniqueIDGenerator
- java.lang.Object
-
- fr.paris.lutece.util.UniqueIDGenerator
-
public final class UniqueIDGenerator extends Object
This class provide unique Id
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetNewId()Return a new unique Id as stringstatic longgetNewIdAsLong()Return a new unique Id as long
-
-
-
Method Detail
-
getNewIdAsLong
public static long getNewIdAsLong()
Return a new unique Id as long- Returns:
- new unique Id
-
getNewId
public static String getNewId()
Return a new unique Id as string- Returns:
- new unique Id
-
-