Class OrPredicate

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean test​(Place place)  
      boolean testPlace​(Place place)
      Returns whether a certain predicate is satisfied for a given place
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Predicate

        and, negate, or
    • Constructor Detail

    • Method Detail

      • testPlace

        public boolean testPlace​(Place place)
        Description copied from interface: PlacePredicate
        Returns whether a certain predicate is satisfied for a given place
        Specified by:
        testPlace in interface PlacePredicate
        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:
        test in interface PlacePredicate
        Specified by:
        test in interface java.util.function.Predicate<Place>