| Modifier and Type | Class and Description |
|---|---|
| private class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final boolean | |
| private final Set | |
| private static final boolean | |
| private IntervalTree. | |
| private int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public final boolean | |
| private IntervalTree. | |
| private boolean | |
| private boolean | |
| public final void | |
| private static <V> boolean | |
| private static int | |
| public final boolean | Returns: true if the entry is a member of this treethe entry to check entry)Method to determine if the interval tree contains the given entry. |
| private void | |
| private void | |
| private void | |
| private void | |
| public final Instant | |
| private long | |
| private IntervalTree. | |
| private long | |
| private long | |
| public final Collection | |
| public final Instant | |
| private long | |
| private long | |
| private long | |
| private static <V> IntervalTree. | |
| private static <V> IntervalTree. | |
| public final boolean | Returns: true if the entry was a member of this treethe entry to remove entry)Method to remove period/key object from tree. |
| public final Collection | |
| private static <V> IntervalTree. | |
| private void | |
| private void | |
| private void | searchIntersecting(IntervalTree.
|
| private static <V> void | |
| public final long | |
| private static < the value type V> IntervalTree. | successor(IntervalTree.
Returns the successor of the specified Entry, or null if no such. |
| BLACK | back to summary |
|---|---|
| private static final boolean BLACK | |
| entryIDs | back to summary |
|---|---|
| private final Set<String> entryIDs | |
| RED | back to summary |
|---|---|
| private static final boolean RED | |
| root | back to summary |
|---|---|
| private IntervalTree. | |
| treeSize | back to summary |
|---|---|
| private int treeSize | |
| IntervalTree | back to summary |
|---|---|
| pack-priv IntervalTree() | |
| add | back to summary |
|---|---|
| public final boolean add(E entry) | |
| addEntry | back to summary |
|---|---|
| private IntervalTree. | |
| checkPHigh | back to summary |
|---|---|
| private boolean checkPHigh(IntervalTree. | |
| checkPLow | back to summary |
|---|---|
| private boolean checkPLow(IntervalTree. | |
| clear | back to summary |
|---|---|
| public final void clear() | |
| colorOf | back to summary |
|---|---|
| private static <V> boolean colorOf(IntervalTree. Balancing operations. Implementations of rebalancings during insertion and deletion are slightly different than the CLR version. Rather than using dummy nilnodes, we use a set of accessors that deal properly with null. They are used to avoid messiness surrounding nullness checks in the main algorithms. | |
| compareLongs | back to summary |
|---|---|
| private static int compareLongs(long val1, long val2) | |
| contains | back to summary |
|---|---|
| public final boolean contains(E entry) Method to determine if the interval tree contains the given entry.
| |
| deleteEntry | back to summary |
|---|---|
| private void deleteEntry(IntervalTree. Delete node p, and then rebalance the tree. | |
| fixAfterDeletion | back to summary |
|---|---|
| private void fixAfterDeletion(IntervalTree. | |
| fixAfterInsertion | back to summary |
|---|---|
| private void fixAfterInsertion(IntervalTree. | |
| fixUpMaxHigh | back to summary |
|---|---|
| private void fixUpMaxHigh(IntervalTree. | |
| getEarliestTimeUsed | back to summary |
|---|---|
| public final Instant getEarliestTimeUsed() | |
| getEarliestTimeUsed | back to summary |
|---|---|
| private long getEarliestTimeUsed(IntervalTree. | |
| getEntry | back to summary |
|---|---|
| private IntervalTree. Method to find entry by period. Period start, period end and object key are used to identify each entry.
| |
| getHigh | back to summary |
|---|---|
| private long getHigh(IntervalTree<E>. | |
| getHigh | back to summary |
|---|---|
| private long getHigh(Entry<?> entry) | |
| getIntersectingObjects | back to summary |
|---|---|
| public final Collection | |
| getLatestTimeUsed | back to summary |
|---|---|
| public final Instant getLatestTimeUsed() | |
| getLatestTimeUsed | back to summary |
|---|---|
| private long getLatestTimeUsed(IntervalTree. | |
| getLow | back to summary |
|---|---|
| private long getLow(IntervalTree<E>. | |
| getLow | back to summary |
|---|---|
| private long getLow(Entry<?> entry) | |
| leftOf | back to summary |
|---|---|
| private static <V> IntervalTree. | |
| parentOf | back to summary |
|---|---|
| private static <V> IntervalTree. | |
| remove | back to summary |
|---|---|
| public final boolean remove(E entry) Method to remove period/key object from tree. Entry to delete will be found by period and key values of given parameter p (not by given object reference).
| |
| removePeriod | back to summary |
|---|---|
| public final Collection | |
| rightOf | back to summary |
|---|---|
| private static <V> IntervalTree. | |
| rotateLeft | back to summary |
|---|---|
| private void rotateLeft(IntervalTree. | |
| rotateRight | back to summary |
|---|---|
| private void rotateRight(IntervalTree. | |
| searchIntersecting | back to summary |
|---|---|
| private void searchIntersecting(IntervalTree. | |
| setColor | back to summary |
|---|---|
| private static <V> void setColor(IntervalTree. | |
| size | back to summary |
|---|---|
| public final long size() | |
| successor | back to summary |
|---|---|
| private static <V> IntervalTree. Returns the successor of the specified Entry, or null if no such.
| |
| Access | Constructor and Description |
|---|---|
| public |
| endTime | back to summary |
|---|---|
| private final Instant endTime | |
| startTime | back to summary |
|---|---|
| private final Instant startTime | |
| TimeInterval | back to summary |
|---|---|
| public TimeInterval(Instant startTime, Instant endTime) | |
| getEndTime | back to summary |
|---|---|
| public Instant getEndTime() | |
| getStartTime | back to summary |
|---|---|
| public Instant getStartTime() | |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private long | |
| private IntervalTree. | |
| private long | |
| private long | |
| private IntervalTree. | |
| private IntervalTree. | |
| private V |
| Access | Constructor and Description |
|---|---|
| pack-priv | TreeEntry(long low, long high, V value, IntervalTree.
Make a new cell with given key, value, and parent, and with null child links, and BLACK color. |
| Modifier and Type | Method and Description |
|---|---|
| public IntervalTree. | |
| public IntervalTree. | |
| public String |
| color | back to summary |
|---|---|
| private boolean color | |
| high | back to summary |
|---|---|
| private long high | |
| left | back to summary |
|---|---|
| private IntervalTree. | |
| low | back to summary |
|---|---|
| private long low | |
| maxHigh | back to summary |
|---|---|
| private long maxHigh | |
| parent | back to summary |
|---|---|
| private IntervalTree. | |
| right | back to summary |
|---|---|
| private IntervalTree. | |
| value | back to summary |
|---|---|
| private V value | |
| TreeEntry | back to summary |
|---|---|
| pack-priv TreeEntry(long low, long high, V value, IntervalTree. Make a new cell with given key, value, and parent, and with null child links, and BLACK color. | |
| getLeft | back to summary |
|---|---|
| public IntervalTree. | |
| getRight | back to summary |
|---|---|
| public IntervalTree. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |