Uses of Interface
org.klojang.check.relation.IntRelation
Package
Description
The central package of this Java module.
A collection of functional interfaces that together constitute one category of
checks that can be executed using Klojang Check.
-
Uses of IntRelation in org.klojang.check
Modifier and TypeMethodDescriptionstatic IntRelation
CommonChecks.eq()
Verifies that the argument equals the specifiedint
value.static IntRelation
CommonChecks.gt()
Verifies that the argument is greater than the specifiedint
value.static IntRelation
CommonChecks.gte()
Verifies that the argument is greater than or equal to the specifiedint
value.static IntRelation
CommonChecks.lt()
Verifies that the argument is less than the specifiedint
value.static IntRelation
CommonChecks.lte()
Verifies that the argument is less than or equal to the specifiedint
value.static IntRelation
CommonChecks.multipleOf()
Verifies that the argument is a multiple of the specifiedint
value.static IntRelation
CommonChecks.ne()
Verifies that the argument does not equal the specifiedint
value.Modifier and TypeMethodDescriptionIntCheck.has
(IntUnaryOperator property, String name, IntRelation test, int object) Validates a property of the argument.IntCheck.has
(IntUnaryOperator property, IntRelation test, int object) Validates a property of the argument.IntCheck.has
(IntUnaryOperator property, IntRelation test, int object, String message, Object... msgArgs) Validates a property of the argument.IntCheck.has
(IntUnaryOperator property, IntRelation test, int object, Supplier<X2> exception) Validates a property of the argument.ObjectCheck.has
(ToIntFunction<T> property, String name, IntRelation test, int object) Validates a property of the argument, retrieved through the specified function, using the specified test.ObjectCheck.has
(ToIntFunction<T> property, IntRelation test, int object) Validates a property of the argument, retrieved through the specified function, using the specified test.ObjectCheck.has
(ToIntFunction<T> property, IntRelation test, int object, String message, Object... msgArgs) Validates a property of the argument, retrieved through the specified function, using the specified test.<X2 extends Exception>
ObjectCheck<T, X> ObjectCheck.has
(ToIntFunction<T> property, IntRelation test, int object, Supplier<X2> exception) Validates a property of the argument, retrieved through the specified function, using the specified test.IntCheck.is
(IntRelation test, int object) Validates the argument using the specified test.IntCheck.is
(IntRelation test, int object, String message, Object... msgArgs) Validates the argument using the specified test.IntCheck.is
(IntRelation test, int object, Supplier<X2> exception) Validates the argument using the specified test.IntCheck.isNot
(IntRelation test, int object) Validates the argument using the specified test.IntCheck.isNot
(IntRelation test, int object, String message, Object... msgArgs) Validates the argument using the specified test.IntCheck.isNot
(IntRelation test, int object, Supplier<X2> exception) Validates the argument using the specified test.IntCheck.notHas
(IntUnaryOperator property, String name, IntRelation test, int object) Validates a property of the argument.IntCheck.notHas
(IntUnaryOperator property, IntRelation test, int object) Validates a property of the argument.IntCheck.notHas
(IntUnaryOperator property, IntRelation test, int object, String message, Object... msgArgs) Validates a property of the argument.IntCheck.notHas
(IntUnaryOperator property, IntRelation test, int object, Supplier<X2> exception) Validates a property of the argument.ObjectCheck.notHas
(ToIntFunction<T> property, String name, IntRelation test, int object) Validates a property of the argument, retrieved through the specified function, using the specified test.ObjectCheck.notHas
(ToIntFunction<T> property, IntRelation test, int object) Validates a property of the argument, retrieved through the specified function, using the specified test.ObjectCheck.notHas
(ToIntFunction<T> property, IntRelation test, int object, String message, Object... msgArgs) Validates a property of the argument using the specified test.<X2 extends Exception>
ObjectCheck<T, X> ObjectCheck.notHas
(ToIntFunction<T> property, IntRelation test, int object, Supplier<X2> exception) Validates a property of the argument, retrieved through the specified function, using the specified test. -
Uses of IntRelation in org.klojang.check.relation
Modifier and TypeMethodDescriptiondefault IntRelation
IntRelation.converse()
Returns the converse of this relation, swapping subject and object in the relationship.default IntRelation
IntRelation.negate()
Returns the negation of thisIntRelation
.Modifier and TypeMethodDescriptiondefault ComposableIntPredicate
ComposableIntPredicate.and
(int subject, IntRelation relation, Quantifier quantifier, int... objects) Returns a new test combining this test and the specified test.default ComposableIntPredicate
ComposableIntPredicate.and
(IntRelation relation, Quantifier quantifier, int... objects) Returns a new test combining this test and the specified test.default <V> ComposablePredicate
<V> ComposablePredicate.and
(int subject, IntRelation relation, Quantifier quantifier, int... objects) Returns a new test combining this test and the specified test.default ComposableIntPredicate
ComposableIntPredicate.andAlso
(IntRelation relation, int object) Returns a new test combining this test and the specified test.default ComposableIntPredicate
ComposableIntPredicate.andNot
(int subject, IntRelation relation, int object) Returns a new test combining this test and the specified test.default ComposableIntPredicate
ComposableIntPredicate.andNot
(IntRelation relation, int object) Returns a new test combining this test and the specified test.default ComposableIntPredicate
ComposableIntPredicate.andThat
(int subject, IntRelation relation, int object) Returns a new test combining this test and the specified test.default <V> ComposablePredicate
<V> ComposablePredicate.andThat
(int subject, IntRelation relation, int object) Returns a new test combining this test and the specified test.default ComposableIntPredicate
ComposableIntPredicate.or
(int subject, IntRelation relation, Quantifier quantifier, int... objects) Returns a new test combining this test and the specified test.default ComposableIntPredicate
ComposableIntPredicate.or
(IntRelation relation, Quantifier quantifier, int... objects) Returns a new test combining this test and the specified test.default <V> ComposablePredicate
<V> ComposablePredicate.or
(int subject, IntRelation relation, Quantifier quantifier, int... objects) Returns a new test combining this test and the specified test.default ComposableIntPredicate
ComposableIntPredicate.orElse
(IntRelation relation, int object) Returns a new test combining this test and the specified test.default ComposableIntPredicate
ComposableIntPredicate.orNot
(IntRelation relation, int object) Returns a new test combining this test and the specified test.default ComposableIntPredicate
ComposableIntPredicate.orThat
(int subject, IntRelation relation, int object) Returns a new test combining this test and the specified test.default <V> ComposablePredicate
<V> ComposablePredicate.orThat
(int subject, IntRelation relation, int object) Returns a new test combining this test and the specified test.static ComposableIntPredicate
Compose.validIntWhen
(IntRelation relation, int object) Converts anRelation
to aComposableIntPredicate
.