Package net.jqwik.api.constraints
Annotationsschnittstelle FloatRange
@Target({ANNOTATION_TYPE,PARAMETER,TYPE_USE})
@Retention(RUNTIME)
@Documented
@API(status=MAINTAINED,
since="1.0")
public @interface FloatRange
Constrain the range of a generated float or Float parameters.
Applies to float or Float parameters which are also annotated with
@ForAll
.- Siehe auch:
-
Optionale Elemente - Übersicht
Modifizierer und TypOptionales ElementBeschreibungfloat
boolean
float
boolean
-
Elementdetails
-
min
float min- Standard:
0.0f
-
minIncluded
boolean minIncluded- Standard:
true
-
max
float max- Standard:
3.4028235E38f
-
maxIncluded
boolean maxIncluded- Standard:
true
-