Uses of Class
jsonvalues.spec.IntegerSchema
Packages that use IntegerSchema
Package
Description
The `jsonvalues.spec` package provides classes and interfaces for defining and working with JSON specifications
(specs) and parsers.
-
Uses of IntegerSchema in jsonvalues.spec
Methods in jsonvalues.spec that return IntegerSchemaModifier and TypeMethodDescriptionstatic IntegerSchema
IntegerSchema.between
(int minimum, int maximum) Creates an IntegerSchema with both minimum and maximum constraints.static IntegerSchema
IntegerSchema.withMaximum
(int maximum) Creates an IntegerSchema with a maximum constraint.static IntegerSchema
IntegerSchema.withMinimum
(int minimum) Creates an IntegerSchema with a minimum constraint.Methods in jsonvalues.spec with parameters of type IntegerSchemaModifier and TypeMethodDescriptionstatic JsArraySpec
JsSpecs.arrayOfInt
(IntegerSchema schema) non-nullable array of integer numbers.static JsArraySpec
JsSpecs.arrayOfInt
(IntegerSchema schema, ArraySchema arraySchema) non-nullable array of integer numbers.static JsSpec
JsSpecs.integer
(IntegerSchema schema) non-nullable integer number Each element of the array must satisfy the given schema.