Skip to content

Inconsistency in Node API #225

@lintool

Description

@lintool

If we look at the Node API, we have:

def randomOutboundNodeSet(numResults: Int, rnd: Random): Seq[Int]:
https://github.com/twitter/cassovary/blob/master/cassovary-core/src/main/scala/com/twitter/cassovary/graph/Node.scala#L123

def outboundNodes(): CSeq[Int]:
https://github.com/twitter/cassovary/blob/master/cassovary-core/src/main/scala/com/twitter/cassovary/graph/Node.scala#L89

Note that one returns a CSeq and the other returns a Seq. Should this be made consistent?

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