IllegalArgumentException
with the given message if the given condition is false.IntCheck,
StringCheck and many more.Check.that(URL)Check.that(int)Check.that(long)InvalidCheckException otherwise.null check that should be done before
each check.ObjectBaseCheck.check(boolean, MessageType, Object...) but with the
possibility to define a cause for the exception that is thrown if the
check fails."cleanStackTraces" (without quotes).Collection types.Check class, allowing an even
more compact syntax."better-checks-config"null element, throwing an exception otherwise.null
element, throwing an exception otherwise."defaultArgumentName" (without quotes).double arguments.MessageType.GwtCompatible
and accessible in GWT.StringCheck property check for the authority of the
URL argument.StringCheck property check for the file of the
URL argument.StringCheck property check for the host of the
URL argument.IntCheck property check for the length of the array
argument.IntCheck property check for the length of the array
argument.IntCheck property check for the length of the string
argument.StringCheck property check for the path of the
URL argument.URL argument has the given protocol, throwing an
exception otherwise.StringCheck property check for the protocol of the
URL argument.StringCheck property check for the query of the
URL argument.StringCheck property check for the reference (or the
anchor) of the URL argument.IntCheck property check for the size of the collection
argument.StringCheck property check for the user info of the
URL argument.IllegalArgumentException with the given exception
message and a cleaned-up stack trace (if enabled).IllegalArgumentException with a message formatted
using the format corresponding to the given message type and the given
message arguments.IllegalArgumentException with a message formatted
using the format corresponding to the given message type and the given
message arguments.IllegalStateException with the given exception message
and a cleaned-up stack trace (if enabled).int arguments.int property check for this argument.double argument is equal to the given
number, throwing an exception otherwise.int argument is equal to the given number,
throwing an exception otherwise.long argument is equal to the given number,
throwing an exception otherwise.Number, throwing an exception otherwise.double argument is greater than or equal to
min and less than or equal to max, throwing an
exception otherwise.int argument is greater than or equal to
min and less than or equal to max, throwing an
exception otherwise.long argument is greater than or equal to
min and less than or equal to max, throwing an
exception otherwise.Number argument is greater than or equal to
min and less than or equal to max, throwing an
exception otherwise.double argument is (strictly) greater than
the given number, throwing an exception otherwise.int argument is (strictly) greater than the
given number, throwing an exception otherwise.long argument is (strictly) greater than the
given number, throwing an exception otherwise.Number, throwing an exception otherwise.int, throwing
an exception otherwise.int and
then "converts" this check into an IntCheck and returns it.double argument is (strictly) less than the
given number, throwing an exception otherwise.long argument is (strictly) less than the
given number, throwing an exception otherwise.long argument is (strictly) less than the
given number, throwing an exception otherwise.Number
, throwing an exception otherwise.double argument is negative, throwing an
exception otherwise.int argument is negative, throwing an
exception otherwise.long argument is negative, throwing an
exception otherwise.double argument is not infinite (positive or
negative), throwing an exception otherwise.double argument is not NaN (not a number,
see Double.NaN), throwing an exception otherwise.null, throwing an exception
otherwise.null.double argument is positive, throwing an
exception otherwise.int argument is positive, throwing an
exception otherwise.long argument is positive, throwing an
exception otherwise.UrlCheck and returns it.int argument is a valid index in a
Collection or array with the given size or length, throwing an
exception otherwise.int argument is a valid index for the given
Collection, throwing an exception otherwise.int argument is a valid index for the given
array, throwing an exception otherwise.long arguments.C type parameter (which
should always be equal to the class of the concrete check).null is a valid value for the
argument of this check.Number arguments.IllegalStateException with the
given message if the given condition is false.String arguments.ObjectCheck which can be use to check basic
properties of all objects, e.g.StringCheck which can be use to check various
properties of a String, e.g.ObjectArrayCheck which can be use to check various
properties of an object array (Object[]), e.g.PrimitiveArrayCheck which can be use to check various
properties of a primitive array (e.g.PrimitiveArrayCheck which can be use to check various
properties of a primitive array (e.g.PrimitiveArrayCheck which can be use to check various
properties of a primitive array (e.g.PrimitiveArrayCheck which can be use to check various
properties of a primitive array (e.g.PrimitiveArrayCheck which can be use to check various
properties of a primitive array (e.g.PrimitiveArrayCheck which can be use to check various
properties of a primitive array (e.g.PrimitiveArrayCheck which can be use to check various
properties of a primitive array (e.g.PrimitiveArrayCheck which can be use to check various
properties of a primitive array (e.g.CollectionCheck which can be use to check various
properties of a Collection, e.g.NumberCheck which can be use to check various
properties of a Number, e.g.IntCheck which can be use to check various properties
of an int, e.g.LongCheck which can be use to check various properties
of a long, e.g.DoubleCheck which can be use to check various
properties of an double, e.g.URL arguments.Copyright © 2012–2017 Michael Faes. All rights reserved.