Package net.shibboleth.utilities.java.support.logic
Classes that represent basic first order logic concepts.
-
Interface Summary Interface Description Predicate<T> A convenience interface to allow our own classes to implement the JavaPredicateand log any calls to thePredicate.apply(Object)method as deprecated. -
Class Summary Class Description AbstractTriStatePredicate<T> A basePredicateimplementation which provides support for cases where the predicate can not meaningfully evaluate the input.AllMatchPredicate<T> AnyMatchPredicate<T> BiFunctionSupport Helper class for constructingBiFunctions in a Spring-friendly manner.BiPredicateSupport Helper class for constructing BiPredicates in a Spring-friendly manner.CaseInsensitiveStringMatchPredicate APredicatethat checks that a given input string matches a target string while ignoring case.Constraint A helper class for evaluating certain constraints.FunctionSupport Helper class for constructing functions that are fully generic, in contrast to the broken, Object-bound types Guava can build.PredicateDrivenFunction<T,U> PredicateSupport Helper class for constructing predicates.RegexPredicate APredicatethat checks that a given input string matches a regular expression.ScriptedBiConsumer<T,U> ABiConsumerwhich calls out to a supplied script.ScriptedBiFunction<T,U,V> ABiFunctionwhich calls out to a supplied script.ScriptedBiPredicate<T,U> ABiPredicatewhich calls out to a supplied script.ScriptedConsumer<T> AConsumerwhich calls out to a supplied script.ScriptedFunction<T,U> AFunctionwhich calls out to a supplied script.ScriptedPredicate<T> APredicatewhich calls out to a supplied script.StrategyIndirectedPredicate<T1,T2> Generic predicate that checks a candidateObjectreturned by a lookup function against an injected predicate.TransformAndCheckFunction<T> AFunctionthat receives an input, runs it through a pre-processor and checks the result against a constraint.TrimOrNullStringFunction AFunctionthat appliesStringSupport.trimOrNull(String)to a given input string. -
Exception Summary Exception Description ConstraintViolationException An exception that represents the violation of a constraint.