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 the Set
contract.
If two values are equal they must also have the same Keyed#getStartTime()
and Keyed#getEndTime()
. However, two values which are not equal may have
the same start and end.
Constructor and Description |
---|
EventIntervalQuadTree() |
EventIntervalQuadTree(int maxBucketSize) |
Modifier and Type | Method and Description |
---|---|
long |
getEndTimeMillis(Event v) |
long |
getStartTimeMillis(Event v) |
add, clear, get, get, get, get, get, get, getAll, getInterior, getInterior, getInterior, getInterior, getOverlapping, isEmpty, remove, size
public EventIntervalQuadTree()
public EventIntervalQuadTree(int maxBucketSize)
public long getStartTimeMillis(Event v)
getStartTimeMillis
in class IntervalQuadTree<Event>
public long getEndTimeMillis(Event v)
getEndTimeMillis
in class IntervalQuadTree<Event>
Copyright © 2016 Metron, Inc.. All rights reserved.