20 lines
626 B
Java
20 lines
626 B
Java
|
package androidx.annotation;
|
||
|
|
||
|
import java.lang.annotation.Documented;
|
||
|
import java.lang.annotation.ElementType;
|
||
|
import java.lang.annotation.Retention;
|
||
|
import java.lang.annotation.RetentionPolicy;
|
||
|
import java.lang.annotation.Target;
|
||
|
@Target({ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD, ElementType.LOCAL_VARIABLE, ElementType.ANNOTATION_TYPE})
|
||
|
@Documented
|
||
|
@Retention(RetentionPolicy.CLASS)
|
||
|
public @interface FloatRange {
|
||
|
double from() default Double.NEGATIVE_INFINITY;
|
||
|
|
||
|
boolean fromInclusive() default true;
|
||
|
|
||
|
double to() default Double.POSITIVE_INFINITY;
|
||
|
|
||
|
boolean toInclusive() default true;
|
||
|
}
|