Skip to content

v1.2.0 - Simplified architecture, improved transformation methods

Compare
Choose a tag to compare
@pjazdzyk pjazdzyk released this 03 Sep 18:35
· 57 commits to master since this release
abd605b

CHANGE LOG (03.09.2023):

  • simplified architecture, removed generic type from Unit,
  • changed PhysicalQuantity generic type from itself to Unit type,
  • transformation methods returns implementation type not generic supertype, what allows for easy usage in streams via method references without any additional casting,
  • equals method will now do equality check based on value in base units, so Units of Meters(1000) and Kilometers(1) will now be considered as equal,
  • added / reworked toFormattedString methods with variable name, suffix and separator,
  • minor fixes and refactoring.