Package org.burningwave.core
Class Criteria.Simple<E,C extends Criteria.Simple<E,C>>
java.lang.Object
org.burningwave.core.Criteria.Simple<E,C>
- All Implemented Interfaces:
AutoCloseable,Closeable,Identifiable
- Direct Known Subclasses:
FileCriteria,FileSystemItem.Criteria
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallThoseThatMatch(Predicate<E> predicate) and()protected <E,C extends Criteria.Simple<E, C>>
Predicate<E> concat(Predicate<E> mainPredicate, Function<Predicate<E>, Predicate<E>> logicalOperator, Predicate<E> otherPredicate) getPredicateWrapper(Function<E, V[]> valueSupplier, BiPredicate<V[], Integer> predicate) booleanprotected ClogicOperation(C leftCriteria, C rightCriteria, Function<Predicate<E>, Function<Predicate<? super E>, Predicate<E>>> binaryOperator, C targetCriteria) negate()protected Cor()booleanbooleanbooleantestWithFalseResultForNullPredicate(E entity) booleanbooleanbooleantestWithTrueResultForNullPredicate(E entity) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.burningwave.core.Closeable
close, closeResources, closeResources, createCloseResoucesTask, createCloseResoucesTaskMethods inherited from interface org.burningwave.core.Identifiable
getId, getOperationId
-
Field Details
-
predicate
-
logicalOperator
-
-
Constructor Details
-
Simple
public Simple()
-
-
Method Details
-
and
-
or
-
and
-
or
-
negate
-
logicOperation
-
allThoseThatMatch
-
getPredicateWrapper
-
concat
-
concat
-
getPredicateOrFalsePredicateIfPredicateIsNull
-
getPredicateOrTruePredicateIfPredicateIsNull
-
testWithFalseResultForNullPredicate
-
testWithTrueResultForNullPredicate
-
testWithFalseResultForNullEntityOrTrueResultForNullPredicate
-
testWithTrueResultForNullEntityOrTrueResultForNullPredicate
-
testWithFalseResultForNullEntityOrFalseResultForNullPredicate
-
testWithTrueResultForNullEntityOrFalseResultForNullPredicate
-
hasNoPredicate
public boolean hasNoPredicate() -
createCopy
-
newInstance
-