public interface IdGenerator
| 限定符和类型 | 方法和说明 |
|---|---|
long |
nextId()
Generate a unique id
|
long[] |
nextSegment(int size)
Generate unique id
|
String |
parse(long id)
Parse the ID into elements which are used to generate the ID.
|
long nextId()
long[] nextSegment(int size)
String parse(long id)
Copyright © 2020. All rights reserved.