All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.luoshu.open.id.IdUtil Maven / Gradle / Ivy

There is a newer version: 0.32
Show newest version
package com.luoshu.open.id;

/**
 * 简单的ID工具类
 * @author inme
 */
public class IdUtil {

    public static IdGenerate createCategory(String category){
        IdFactory idFactory = IdContext.getIdFactory();
        IdGenerate idGenerate = idFactory.create(category);
        return idGenerate;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy