T - type of object being mappedpublic interface RangeMapper<T> extends PlotStrategy
| Modifier and Type | Method and Description |
|---|---|
float |
getOverlapp(T o,
java.util.Date start,
java.util.Date end)
get the contribution of the object to the specified time period.
|
boolean |
overlapps(T o,
java.util.Date start,
java.util.Date end)
does this object overlap with the specified time period.
|
float getOverlapp(T o, java.util.Date start, java.util.Date end) throws java.lang.Exception
o - start - period start as Dateend - period end as Datejava.lang.Exceptionboolean overlapps(T o, java.util.Date start, java.util.Date end)
o - start - period start as Dateend - period end as Date