Package uk.ac.rdg.resc.edal.domain
Interface Extent<P>
-
- All Superinterfaces:
Domain<P>
,Serializable
public interface Extent<P> extends Domain<P>, Serializable
Defines a contiguous domain that is defined by "low" and "high" bounds. Any value (inclusively) between these values is considered part of the domain. A null value for "low" or "high" indicates that the extent is unbounded at that end. If both values are null and the Extent is not empty (i.e.
isEmpty()
returnsfalse
), then the Extent includes all possible values of P, with the exception of NaN values where P is numerical.- Author:
- Jon Blower, Guy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
equals(Object obj)
P
getHigh()
P
getLow()
int
hashCode()
boolean
intersects(Extent<P> otherExtent)
Tests whether this extent overlaps with anotherboolean
isEmpty()
-