dev.soffa.foundation.helper.ID Maven / Gradle / Ivy
package dev.soffa.foundation.helper;
import dev.soffa.foundation.commons.DefaultIdGenerator;
import dev.soffa.foundation.commons.IdGenerator;
@SuppressWarnings("PMD.ClassNamingConventions")
public final class ID {
public static IdGenerator generator = new DefaultIdGenerator();
public static String generate() {
return generator.nextId("");
}
public static String generate(String prefix) {
return generator.nextId(prefix);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy