public class NanoidGenerator extends Object implements IdGenerator
| 构造器和说明 |
|---|
NanoidGenerator() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
get() |
String |
get(Object o) |
String |
getAlphabet() |
Function3<String,Integer,BytesRandom,String> |
getIdGenFun() |
int |
getIdLength() |
Supplier<Integer,byte[]> |
getRandomBytesSupplier() |
void |
setAlphabet(String alphabet) |
void |
setIdGenFun(Function3<String,Integer,BytesRandom,String> idGenFun) |
void |
setIdLength(int idLength) |
void |
setRandomBytesSupplier(BytesRandom randomBytesSupplier) |
public String get()
get 在接口中 IdGeneratorget 在接口中 Supplier0public String getAlphabet()
public void setAlphabet(String alphabet)
public int getIdLength()
public void setIdLength(int idLength)
public void setRandomBytesSupplier(BytesRandom randomBytesSupplier)
public Function3<String,Integer,BytesRandom,String> getIdGenFun()
public void setIdGenFun(Function3<String,Integer,BytesRandom,String> idGenFun)
Copyright © 2022. All rights reserved.