Adds an activity to the tree.
the activity to add
true if the activity could be added
Removes all activities from the tree.
Returns the earliest time used by all activities currently stored inside the tree.
the earliest time used
Returns all activities found within the given time interval.
the time interval
the found activities
Returns the latest time used by all activities currently stored inside the tree.
the latest time used
Method to remove period/key object from tree. Entry to delete will be found by period and key values of given activity (not by given object reference).
the activity to remove
true if the activity was a member of this tree
Removes all activities found within the given time interval.
the time interval
the removed activities
Returns the number of activities stored inside the tree.
the tree size
An interval tree implementation to store activities based on their start and end time.
IntervalTreeActivityRepository
1.0