Skip to content

[ContiguousSegmentCollection] Add ContiguousSegmentCollectionProtocol #206

Open

Description

@jsbean

Much of the API of ContiguousSegmentCollection is also needed on ContiguousSegmentCollection.Fragment.

Add a ContiguousSegmentCollectionProtocol which unifies the shared bits.

For example:

protocol ContiguousSegmentCollectionProtocol {
    func segment(containing target: Metric) -> Segment?
    ...
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions