interledger-deprecated / java-ilp-core

WE'VE MOVED: This project has moved to Hyperledger Quilt
https://github.com/hyperledger/quilt/tree/master/ilp-core
Apache License 2.0
16 stars 10 forks source link

InterledgerAddress: Define a .equals method #22

Closed sappenin closed 7 years ago

sappenin commented 7 years ago

The .equals and hashcode method should always defer to the value() of the address. Define this in the interface with some javadoc to make this part of the interface's contract. Same for Hashcode and toString. See Collection.java for prior-art.