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

org.unlaxer.tinyexpression.instances.TenantID Maven / Gradle / Ivy

The newest version!
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;
      }
    };
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy