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

org.unlaxer.jaddress.model.MinFloatValue Maven / Gradle / Ivy

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 MinFloatValue {
	
	public default float minFloatValue(){
		MinFloatValue._MinFloatValue annotation = getClass().getAnnotation(MinFloatValue._MinFloatValue.class);
		return annotation == null ? 
				Float.MIN_VALUE : 
				annotation.value();
	}
	
	@Retention(RetentionPolicy.RUNTIME)
	@Target(ElementType.TYPE)
	public @interface _MinFloatValue{
		float  value();
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy