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

Generate equals() and hashCode() for Java messages #13

Open
Theosakamg opened this issue Jun 12, 2018 · 1 comment
Open

Generate equals() and hashCode() for Java messages #13

Theosakamg opened this issue Jun 12, 2018 · 1 comment

Comments

@Theosakamg
Copy link
Member

Theosakamg commented Jun 12, 2018

Same has ros2/rosidl#281

@Theosakamg Theosakamg changed the title generate equal() and hash() for Java messages Generate equal() and hash() for Java messages Jun 12, 2018
@Theosakamg Theosakamg changed the title Generate equal() and hash() for Java messages Generate equals() and hashCode() for Java messages Jun 12, 2018
@Theosakamg
Copy link
Member Author

Theosakamg commented Jun 12, 2018

equals() :

  • Primitive (int, double...)
  • Object
  • Array

hashCode();

  • bool / int / long
  • double / float
  • Object
  • Array

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

1 participant