Skip to content

Array, ArraySet and ArrayMap should get rid of "instanceof" #14

@super132

Description

@super132

The constructor of Array, ArraySet and ArrayMap uses instanceof for doing different logics according to different input which implements Iterable. This can be avoided by creating 2 new constructors taking Collection and other class and put the logic there.

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