ArraySet is an array backed set, with both the space savings and hit on performance.
ArraySet is an array backed set, with both the space savings and hit on performance. The data is compared on the basis of the Equal type class instance provided only (no hashCodes etc).
This mechanism exists to drop the outer pointer and class manifest instance.
This mechanism exists to drop the outer pointer and class manifest instance. Creates instances of ArraySet of varying size.
Array backed buffer, restart returns the captured data and then rejoins the original iterator
Simple helper functions to get and remove ConcurrentLinkedQueues from a ConcurrentHashMap
Remove neighbouring duplicates based on a given predicate (defaults to _ eq _).
Remove neighbouring duplicates based on a given predicate (defaults to _ eq _).
For example (1,2,2,3) would be converted to (1,2,3)
Backwards compat for 2.8.1, its simply Iterator for 2.9.x
Wraps behaviour of ImmutableArray like objects, when the array is greater than 31 it will be swapped to Vector.
Build array first then vector as needed
Based on Scala ListSet, users provide the comparisom operator and comparisom type for lookups.
Based on Scala ListSet, users provide the comparisom operator and comparisom type for lookups.
Because the equality is defined outside of the object + always acts as add/replace
the type of the elements contained in this list set.
1.0, 30/12/2010
Only created once and via calcOnce
IF hasChildren then isStart indicates that this particular occurence is the start of the element or the end
Starts an ImmutableArrayProxy and provides the CanBuildFrom
The collection pacakge provides the scales.utils.collection.Tree