@Beta public final class Validators extends Object
Please note that this class is marked with @Beta annotation, so it can be subject of incompatible changes or removal in later releases.
Please note that validation in this version is not supported yet.
Modifier and Type | Class and Description |
---|---|
static class |
Validators.MultiplyOf32
Ensure that parameter is multiply of 32.
|
static class |
Validators.NonNegativeDouble
Validator accepts only non negative doubles (also 0).
|
static class |
Validators.NonNegativeInteger
Validator accepts only non negative integers (zero and greater).
|
static class |
Validators.PositiveInteger
Validator accepts only positive integers (1 or greater; excluding 0).
|
static class |
Validators.UnitInterval
Validator accepts double values in the unit interval (0.0 - 1.0, inclusive).
|