You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Comparing different Bytes and BytesN based on their values, not reference. Right now we need to access their contents for comparison.
Actual behavior
Comparing these classes will compare the references which is not really useful for most use cases. We should implement the equals() and hashCode() methods in order to easily compare their values.
The text was updated successfully, but these errors were encountered:
Expected behavior
Comparing different
Bytes
andBytesN
based on their values, not reference. Right now we need to access their contents for comparison.Actual behavior
Comparing these classes will compare the references which is not really useful for most use cases. We should implement the
equals()
andhashCode()
methods in order to easily compare their values.The text was updated successfully, but these errors were encountered: