public abstract class IntervalQuadTree<V> extends Object
Constructor and Description |
---|
IntervalQuadTree() |
IntervalQuadTree(int maxBucketSize) |
Modifier and Type | Method and Description |
---|---|
void |
add(V value) |
void |
clear() |
Collection<V> |
get(long time) |
Collection<V> |
get(long start,
boolean startInclusive,
long end,
boolean endInclusive) |
Collection<V> |
get(long start,
long end) |
Collection<V> |
get(TimeStamp time) |
Collection<V> |
get(TimeStamp start,
boolean startInclusive,
TimeStamp end,
boolean endInclusive) |
Collection<V> |
get(TimeStamp start,
TimeStamp end) |
Set<V> |
getAll() |
abstract long |
getEndTimeMillis(V v) |
Collection<V> |
getInterior(long start,
boolean startInclusive,
long end,
boolean endInclusive) |
Collection<V> |
getInterior(long start,
long end) |
Collection<V> |
getInterior(TimeStamp start,
boolean startInclusive,
TimeStamp end,
boolean endInclusive) |
Collection<V> |
getInterior(TimeStamp start,
TimeStamp end) |
Collection<V> |
getOverlapping(V value) |
abstract long |
getStartTimeMillis(V v) |
boolean |
isEmpty() |
void |
remove(V value) |
int |
size() |
public IntervalQuadTree()
public IntervalQuadTree(int maxBucketSize)
public abstract long getStartTimeMillis(V v)
public abstract long getEndTimeMillis(V v)
public void clear()
public void add(V value)
public void remove(V value)
public Collection<V> get(TimeStamp time)
public Collection<V> get(TimeStamp start, TimeStamp end)
start
- inclusive start TimeStampend
- exclusive end TimeStamppublic Collection<V> get(TimeStamp start, boolean startInclusive, TimeStamp end, boolean endInclusive)
public Collection<V> get(long time)
time
- time expressed as posix millisecondsget(TimeStamp)
public Collection<V> get(long start, long end)
start
- time expressed as posix millisecondsend
- time expressed as posix millisecondsget(TimeStamp, TimeStamp)
public Collection<V> get(long start, boolean startInclusive, long end, boolean endInclusive)
start
- time expressed as posix millisecondsend
- time expressed as posix millisecondsget(TimeStamp, boolean, TimeStamp, boolean )
public Collection<V> getOverlapping(V value)
public Collection<V> getInterior(TimeStamp start, TimeStamp end)
public Collection<V> getInterior(TimeStamp start, boolean startInclusive, TimeStamp end, boolean endInclusive)
public Collection<V> getInterior(long start, long end)
public Collection<V> getInterior(long start, boolean startInclusive, long end, boolean endInclusive)
public boolean isEmpty()
public int size()
Copyright © 2020 Metron, Inc.. All rights reserved.