Interface AndCriterion
- All Superinterfaces:
AdvancementCriterion, Nameable, OperatorCriterion
A
AdvancementCriterion that represents an AND operation. All
the criteria should be true in order for the final result
to be true.-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface AdvancementCriterion
AdvancementCriterion.BaseBuilder<T,B>, AdvancementCriterion.Builder -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic AdvancementCriterionof(Iterable<AdvancementCriterion> criteria) Attempts to build a new AND operation with the givenAdvancementCriterions.static AdvancementCriterionof(AdvancementCriterion... criteria) Attempts to build a new AND operation with the givenAdvancementCriterions.Methods inherited from interface OperatorCriterion
criteria, find, findFirst, leafCriteria
-
Method Details
-
of
Attempts to build a new AND operation with the givenAdvancementCriterions.There is no guarantee that the returned extends
AndCriterion, this depends on if there are duplicate criteria,AdvancementCriterion.empty()is present, or when no extra criteria are provided.- Parameters:
criteria- The other criteria- Returns:
- The AND operation
-
of
Attempts to build a new AND operation with the givenAdvancementCriterions.There is no guarantee that the returned extends
AndCriterion, this depends on if there are duplicate criteria,AdvancementCriterion.empty()is present, or when no extra criteria are provided.- Parameters:
criteria- The other criteria- Returns:
- The AND operation
-