org.unlaxer.jaddress.model.MinLength Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of japanese-address-parser Show documentation
Show all versions of japanese-address-parser Show documentation
a simplejapanese address parser
The newest version!
package org.unlaxer.jaddress.model;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
public interface MinLength{
public default int minLength(){
_MinLength annotation = getClass().getAnnotation(_MinLength.class);
return annotation == null ?
0 :
annotation.value();
}
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface _MinLength{
int value();
}
} © 2015 - 2025 Weber Informatics LLC | Privacy Policy