org.unlaxer.tinyexpression.instances.TenantID Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tinyExpression Show documentation
Show all versions of tinyExpression Show documentation
TinyExpression implemented with Unlaxer
package org.unlaxer.tinyexpression.instances;
public interface TenantID{
int asNumber();
public default String asString() {
return String.valueOf(asNumber());
}
public static TenantID create(int number) {
return new TenantID() {
@Override
public int asNumber() {
return number;
}
};
}
}