Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ghostcity opened this issue Dec 12, 2020 · 1 comment

Comments

@ghostcity
Copy link

ghostcity commented Dec 12, 2020

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.

@hierynomus
Copy link
Owner

Merged #653

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants