Module org.klojang.check
Package org.klojang.check.relation
package org.klojang.check.relation
A collection of functional interfaces that together constitute one category of
checks that can be executed using Klojang Check. The other category consists of
the twin interfaces of
Predicate and
IntPredicate from the JDK itself. This
package also contains extensions of these two interfaces:
ComposablePredicate and
ComposableIntPredicate. They function as a
bridge to the relational interfaces of this package. See
ComposablePredicate for more information.
The Relation interface
and its sister interfaces in this package assess whether a certain type of
relation exists between one object and another. The object being assessed is
called the subject of the relationship, and the object that it is compared
against is called the object of the relationship. If the subject does
indeed have the specified relation to the object, the relation is said to
exist. For example, if x is a Collection and y is an element of
it, then the contains relation (Collection::contains) exists
between x and y.
-
ClassDescriptionAn extension of
IntPredicatethat acts as a bridge betweenIntPredicateand the relational interfaces in this package.An extension ofPredicatethat acts as a bridge betweenPredicateand the relational interfaces in this package.Utility methods that assist in the creation of new checks by combining multiple individual checks.Defines a relationship between an integer and an object.Defines a relationship between two integers.Defines some kind of relationship between an object and an integer.Symbolic constants for logical quantifiers.Relation<S,O> Defines a relationship between two objects.