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

Replace 'equals' and 'hashCode' methods with 'sameState' for mutable objects #152

Closed
jenetics opened this issue Oct 15, 2016 · 1 comment
Assignees
Labels
Milestone

Comments

@jenetics
Copy link
Owner

Some mutable objects are implementing equals and hashCode methods. Like the random engine implementation and some classes in the org.jenetics.stat package. They where mainly implemented to make testing easier.
The equals method is replaced by a new sameState method, which allows the comparison of the current state of this mutable objects. The current equals and hashCode methods will be marked as deprecated.

@jenetics jenetics added this to the v3.7.0 milestone Oct 15, 2016
@jenetics jenetics self-assigned this Oct 15, 2016
jenetics added a commit that referenced this issue Nov 17, 2016
jenetics added a commit that referenced this issue Nov 17, 2016
jenetics added a commit that referenced this issue Nov 17, 2016
jenetics added a commit that referenced this issue Nov 17, 2016
jenetics added a commit that referenced this issue Nov 17, 2016
jenetics added a commit that referenced this issue Nov 17, 2016
jenetics added a commit that referenced this issue Nov 17, 2016
jenetics added a commit that referenced this issue Nov 17, 2016
jenetics added a commit that referenced this issue Nov 17, 2016
jenetics added a commit that referenced this issue Nov 17, 2016
jenetics added a commit that referenced this issue Nov 17, 2016
jenetics added a commit that referenced this issue Nov 17, 2016
jenetics added a commit that referenced this issue Nov 17, 2016
@jenetics
Copy link
Owner Author

Branch has been merged into r3.7.0.

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

No branches or pull requests

1 participant