# Package net.shibboleth.shared.logic

@NonnullElements package net.shibboleth.shared.logic
Classes that represent basic first order logic concepts.

Class
Description
AbstractTriStatePredicate<T>
A base `Predicate` implementation which provides support for cases where the predicate can not meaningfully evaluate the input.
AllMatchPredicate<T>
A `Predicate` that checks that all items in an `Iterable` match a given target predicate.
AnyMatchPredicate<T>
A `Predicate` that checks that any item in an `Iterable` matches a given target predicate.
BiFunctionSupport
Helper class for constructing `BiFunction`s in a Spring-friendly manner.
BiPredicateSupport
Helper class for constructing BiPredicates in a Spring-friendly manner.
BiPredicateSupport.ObjectBiPredicate
Private enum to optimize the true/false objects.
CaseInsensitiveStringMatchPredicate
A `Predicate` that checks that a given input string matches a target string while ignoring case.
Constraint
A helper class for evaluating certain constraints.
ConstraintViolationException
An exception that represents the violation of a constraint.
FunctionSupport
Helper class for constructing functions that are fully generic, in contrast to the broken, Object-bound types Guava can build.
NonnullFunction<T,U>
Implementation of `Function` that carries the nonnull annotation on the `NonnullFunction.apply(Object)` method's return value.
PredicateDrivenFunction<T,U>
A `Function` that runs a `Predicate` and then runs one of two other possible functions based on the result.
PredicateSupport
Helper class for constructing predicates.
RegexPredicate
A `Predicate` that checks that a given input string matches a regular expression.
ScriptedBiConsumer<T,U>
A `BiConsumer` which calls out to a supplied script.
ScriptedBiFunction<T,U,V>
A `BiFunction` which calls out to a supplied script.
ScriptedBiPredicate<T,U>
A `BiPredicate` which calls out to a supplied script.
ScriptedConsumer<T>
A `Consumer` which calls out to a supplied script.
ScriptedFunction<T,U>
A `Function` which calls out to a supplied script.
ScriptedPredicate<T>
A `Predicate` which calls out to a supplied script.
StrategyIndirectedPredicate<T1,T2>
Generic predicate that checks a candidate `Object` returned by a lookup function against an injected predicate.
TransformAndCheckFunction<T>
A `Function` that receives an input, runs it through a pre-processor and checks the result against a constraint.
TrimOrNullStringFunction
A `Function` that applies `StringSupport.trimOrNull(String)` to a given input string.