String hexId = (String) identifier;
return new ShardId(Integer.decode("0x" + hexId.substring(0, 4)));
}
public static void main(String[] args) throws Exception {
ShardedSqlSessionImpl.setCurrentSubgraphShardId(new ShardId(0));
IdGenerator gen = new ShardedUUIDGenerator();
IdGenerator gen2 = new ShardedUUIDGenerator();
for (int i = 0; i < Integer.MAX_VALUE; i++) {