Module org.klojang.check
Package org.klojang.check
package org.klojang.check
The central package of this Java module. See the
module summary for a
detailed explanation.
-
ClassDescriptionThe central class of this Java module.Defines various common checks on arguments, variables, object state, program input, etc.Provides factories for some commonly thrown exceptions.Defines various functions that can optionally be passed as the first argument to the
has(...)
andnotHas(...)
methods ofIntCheck
andObjectCheck
.Thrown if a check was incorrectly specified.Facilitates the validation ofint
values.ObjectCheck<T,X extends Exception> Facilitates the validation of arbitrarily typed values.String constants for some commonly used names for fields, parameters and variables.