Class EventIntervalQuadTree
- java.lang.Object
-
- com.metsci.glimpse.core.support.interval.IntervalQuadTree<Event>
-
- com.metsci.glimpse.core.plot.timeline.event.EventIntervalQuadTree
-
public class EventIntervalQuadTree extends IntervalQuadTree<Event>
Although this collection is sorted based on the Event start and end TimeStamps, it uses
Object.equals(Object)
to satisfy theSet
contract. If two values are equal they must also have the sameKeyed#getStartTime()
andKeyed#getEndTime()
. However, two values which are not equal may have the same start and end.
-
-
Constructor Summary
Constructors Constructor Description EventIntervalQuadTree()
EventIntervalQuadTree(int maxBucketSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getEndTimeMillis(Event v)
long
getStartTimeMillis(Event v)
-
Methods inherited from class com.metsci.glimpse.core.support.interval.IntervalQuadTree
add, clear, get, get, get, get, get, get, getAll, getInterior, getInterior, getInterior, getInterior, getOverlapping, isEmpty, remove, size
-
-
-
-
Method Detail
-
getStartTimeMillis
public long getStartTimeMillis(Event v)
- Specified by:
getStartTimeMillis
in classIntervalQuadTree<Event>
-
getEndTimeMillis
public long getEndTimeMillis(Event v)
- Specified by:
getEndTimeMillis
in classIntervalQuadTree<Event>
-
-