Method | Description | |
---|---|---|
Compare ( String id1, String id2 ) : int |
Does a proper compare on the ids
|
|
GenerateId ( ) : String |
Generate a Unique Id
|
|
GenerateSanitizedId ( ) : String |
Generate a unique ID - that is friendly for a URL or file system
|
|
GetSeedFromId ( String id ) : String |
From a generated id - return the seed (i.e. minus the count)
|
|
GetSequenceFromId ( String id ) : long |
From a generated id - return the generator count
|
|
IdGenerator ( String prefix ) : System |
Method | Description | |
---|---|---|
IdGenerator ( ) : System |
public static Compare ( String id1, String id2 ) : int | ||
id1 | String |
/// A |
id2 | String |
/// A |
return | int |
public static GetSeedFromId ( String id ) : String | ||
id | String |
/// A |
return | String |
public static GetSequenceFromId ( String id ) : long | ||
id | String |
/// A |
return | long |
public IdGenerator ( String prefix ) : System | ||
prefix | String | |
return | System |