MCPcopy
hub / github.com/Workiva/go-datastructures / Query

Method Query

rangetree/interface.go:65–65  ·  view source on GitHub ↗

Query will return a list of entries that fall within the provided interval. The values at dimensions are inclusive.

(interval Interval)

Source from the content-addressed store, hash-verified

63 // Query will return a list of entries that fall within
64 // the provided interval. The values at dimensions are inclusive.
65 Query(interval Interval) Entries
66 // Apply will call the provided function with each entry that exists
67 // within the provided range, in order. Return false at any time to
68 // cancel iteration. Altering the entry in such a way that its location

Implementers 3

orderedTreerangetree/orderedtree.go
skipListRTrangetree/skiplist/skiplist.go
RangeTreemock/rangetree.go

Calls

no outgoing calls