public class UniqueStringGenerator
{
private UniqueStringGenerator()
{
}
public static synchronized String getUniqueString()
{
if(generateCount > )
generateCount = ;
String uniqueNumber = LongtoString(SystemcurrentTimeMillis()) + IntegertoString(generateCount);
generateCount++;
return uniqueNumber;
}
private static final int MAX_GENERATE_COUNT = ;
private static int generateCount = ;
}