Best way to generate a unique ID in java

前端 未结 2 1241
借酒劲吻你
借酒劲吻你 2021-01-21 04:29

What is the best way to generate a unique ID in java. People generally use

String id = System.currentTimeMillis+ someStaticCounter;

But this a

2条回答
提交回复
热议问题