Package org.burningwave
Class Criteria.Simple<E,C extends Criteria.Simple<E,C>>
java.lang.Object
org.burningwave.Criteria.Simple<E,C>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Function<ThrowingPredicate<E,? extends Throwable>, ThrowingPredicate<E, ? extends Throwable>> protected ThrowingPredicate<E,? extends Throwable> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallThoseThatMatch(ThrowingPredicate<E, ? extends Throwable> predicate) and()protected <E,C extends Criteria.Simple<E, C>>
ThrowingPredicate<E,? extends Throwable> concat(ThrowingPredicate<E, ? extends Throwable> mainPredicate, Function<ThrowingPredicate<E, ? extends Throwable>, ThrowingPredicate<E, ? extends Throwable>> logicalOperator, ThrowingPredicate<E, ? extends Throwable> otherPredicate) protected ThrowingPredicate<E,? extends Throwable> concat(ThrowingPredicate<E, ? extends Throwable> mainPredicate, ThrowingPredicate<E, ? extends Throwable> otherPredicate) ThrowingPredicate<E,? extends Throwable> ThrowingPredicate<E,? extends Throwable> protected <V> ThrowingPredicate<E,? extends Throwable> getPredicateWrapper(Function<E, V[]> valueSupplier, ThrowingBiPredicate<V[], Integer, ? extends Throwable> predicate) booleanprotected ClogicOperation(C leftCriteria, C rightCriteria, Function<ThrowingPredicate<E, ? extends Throwable>, Function<ThrowingPredicate<? super E, ? extends Throwable>, ThrowingPredicate<E, ? extends Throwable>>> binaryOperator, C targetCriteria) protected Cor()booleanbooleanbooleantestWithFalseResultForNullPredicate(E entity) booleanbooleanbooleantestWithTrueResultForNullPredicate(E entity)
-
Field Details
-
logicalOperator
protected Function<ThrowingPredicate<E,? extends Throwable>, logicalOperatorThrowingPredicate<E, ? extends Throwable>> -
predicate
-
-
Constructor Details
-
Simple
public Simple()
-
-
Method Details
-
allThoseThatMatch
-
and
-
and
-
createCopy
-
getPredicateOrFalsePredicateIfPredicateIsNull
-
getPredicateOrTruePredicateIfPredicateIsNull
-
hasNoPredicate
public boolean hasNoPredicate() -
or
-
or
-
testWithFalseResultForNullEntityOrFalseResultForNullPredicate
-
testWithFalseResultForNullEntityOrTrueResultForNullPredicate
-
testWithFalseResultForNullPredicate
-
testWithTrueResultForNullEntityOrFalseResultForNullPredicate
-
testWithTrueResultForNullEntityOrTrueResultForNullPredicate
-
testWithTrueResultForNullPredicate
-
concat
protected <E,C extends Criteria.Simple<E, ThrowingPredicate<E,C>> ? extends Throwable> concat(ThrowingPredicate<E, ? extends Throwable> mainPredicate, Function<ThrowingPredicate<E, ? extends Throwable>, ThrowingPredicate<E, ? extends Throwable>> logicalOperator, ThrowingPredicate<E, ? extends Throwable> otherPredicate) -
concat
protected ThrowingPredicate<E,? extends Throwable> concat(ThrowingPredicate<E, ? extends Throwable> mainPredicate, ThrowingPredicate<E, ? extends Throwable> otherPredicate) -
getPredicateWrapper
protected <V> ThrowingPredicate<E,? extends Throwable> getPredicateWrapper(Function<E, V[]> valueSupplier, ThrowingBiPredicate<V[], Integer, ? extends Throwable> predicate) -
logicOperation
protected C logicOperation(C leftCriteria, C rightCriteria, Function<ThrowingPredicate<E, ? extends Throwable>, Function<ThrowingPredicate<? super E, ? extends Throwable>, ThrowingPredicate<E, ? extends Throwable>>> binaryOperator, C targetCriteria) -
newInstance
-