Skip to content

Parameter cannot be used as HashMap key (missing #hashCode, #equals, #toString) #653

@ghostcity

Description

@ghostcity

I'd like to use the local port forwarding's parameter type as a HashMap's key. Since the type (currently) does not contain the "Java boilerplate" #hashCode #equals, and #toString, it cannot be used as an according key.

The solution is quite simple -- I will offer such methods as a merge request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions