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 IntegerSchemaIntegerSchema.between(int minimum, int maximum) Creates an IntegerSchema with both minimum and maximum constraints.static IntegerSchemaIntegerSchema.withMaximum(int maximum) Creates an IntegerSchema with a maximum constraint.static IntegerSchemaIntegerSchema.withMinimum(int minimum) Creates an IntegerSchema with a minimum constraint.Methods in jsonvalues.spec with parameters of type IntegerSchemaModifier and TypeMethodDescriptionstatic JsArraySpecJsSpecs.arrayOfInt(IntegerSchema schema) non-nullable array of integer numbers.static JsArraySpecJsSpecs.arrayOfInt(IntegerSchema schema, ArraySchema arraySchema) non-nullable array of integer numbers.static JsSpecJsSpecs.integer(IntegerSchema schema) non-nullable integer number Each element of the array must satisfy the given schema.