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

AbstractPtr should have a equals method that checks the peer #158

Open
sdyura opened this issue Dec 28, 2021 · 0 comments
Open

AbstractPtr should have a equals method that checks the peer #158

sdyura opened this issue Dec 28, 2021 · 0 comments

Comments

@sdyura
Copy link

sdyura commented Dec 28, 2021

right now to check if 2 AbstractPtr are pointing at the same thing i need to get the peer for both and call equals on them

item1.getPeer().equals(item2.getPeer())

it would be a lot easier if i could just call equals(...) on the AbstractPtr itself

item1.equals(item2)

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

No branches or pull requests

2 participants