Hide
AbstractLazyLoadRunMap uses CopyOnWrite.Tree as the core map for storing build references. Currently, CopyOnWrite.Tree implements the SortedMap interface, but is internally backed by a TreeMap, which is a NavigableMap.
By exposing the NavigableMap interface in CopyOnWrite.Tree, we can take advantage of its navigation methods to implement a more efficient version of AbstractLazyLoadRunMap.search()
Show
AbstractLazyLoadRunMap uses CopyOnWrite.Tree as the core map for storing build references. Currently, CopyOnWrite.Tree implements the SortedMap interface, but is internally backed by a TreeMap, which is a NavigableMap.
By exposing the NavigableMap interface in CopyOnWrite.Tree, we can take advantage of its navigation methods to implement a more efficient version of AbstractLazyLoadRunMap.search()