Class AndPredicate
- java.lang.Object
-
- org.processmining.placebasedlpmdiscovery.placechooser.placepredicates.AndPredicate
-
- All Implemented Interfaces:
java.util.function.Predicate<Place>,PlacePredicate
public class AndPredicate extends java.lang.Object implements PlacePredicate
-
-
Constructor Summary
Constructors Constructor Description AndPredicate(PlacePredicate... predicates)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleantest(Place place)booleantestPlace(Place place)Returns whether a certain predicate is satisfied for a given place
-
-
-
Constructor Detail
-
AndPredicate
public AndPredicate(PlacePredicate... predicates)
-
-
Method Detail
-
testPlace
public boolean testPlace(Place place)
Description copied from interface:PlacePredicateReturns whether a certain predicate is satisfied for a given place- Specified by:
testPlacein interfacePlacePredicate- Parameters:
place- that we want to check for filtering- Returns:
- true when the predicate is satisfied and false otherwise
-
test
public boolean test(Place place)
- Specified by:
testin interfacePlacePredicate- Specified by:
testin interfacejava.util.function.Predicate<Place>
-
-