Given a collection of valid data, returns data used to populate the dataByStartAsc, dataByValue, and dataInSearchTree internal data structures.
Given a collection of valid data, returns data used to populate the dataByStartAsc, dataByValue, and dataInSearchTree internal data structures.
Type parameters
D
the domain type -- a non-empty tuple that is DomainLike.
V
the type of the value managed as data.
Value parameters
initialData
a collection of values valid within intervals -- intervals must be disjoint.
Attributes
Returns
tuple of TreeMap data, MultiMapSorted data, and BoxTree data used when constructing something that is a DimensionalBase and has overridden dataByStartAsc, dataByValue, and dataInSearchTree in the constructor.
Note
A tight boundary around the origin with a capacity large enough to contain the initial data is used. Benchmarks have shown that a tightly-defined capacity has better insert performance even if it has to be resized at some point.