Skip to content
Permalink
Branch: master
Commits on Jun 7, 2019
  1. [#18] Improved hashCode() and toString() implementation

    knutwannheden committed Jun 7, 2019
    Changed code for multi-release compatibility.
  2. [#18] Improved hashCode() and toString() implementation

    knutwannheden committed Jun 7, 2019
    Instead of `Short.valueOf(value).toString()` we can implement
    `UByte#toString()` as `Short.toString(value)`. Also `UByte#hashCode()`
    can be changed from `Short.valueOf(value).hashCode()` to
    `Short.hashCode(value)` as of Java 1.8.
    
    Same changes for `UInteger` and `UShort` and also to `ULong` for the
    `hashCode()` implementation.
You can’t perform that action at this time.