Package org.sellcom.geotemporal.time
Interface GeoTemporalPredicate
-
- All Superinterfaces:
BiPredicate<Temporal,GeoRegion>
- All Known Implementing Classes:
GeoTemporalApplicability,TemporalApplicability
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface GeoTemporalPredicate extends BiPredicate<Temporal,GeoRegion>
Predicate of a temporal and a region.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleantest(Temporal temporal, GeoRegion region)Evaluates this predicate at the given temporal in the context of the given region.-
Methods inherited from interface java.util.function.BiPredicate
and, negate, or
-
-
-
-
Method Detail
-
test
boolean test(Temporal temporal, GeoRegion region)
Evaluates this predicate at the given temporal in the context of the given region.- Specified by:
testin interfaceBiPredicate<Temporal,GeoRegion>- Throws:
IllegalArgumentException- iftemporalisnullIllegalArgumentException- ifregionisnullGeoRegionNotSupportedException- if the given region is not supported- Since:
- 1.0
-
-