Skip to content

Break ComparableUnit into API and AbstractUnit #307

@keilw

Description

@keilw

The ComparableUnit interface contains 3 methods, 2 are merely convenience methods (getSystemConverter() and isSystemUnit()) that are used almost entirely inside Indriya, especially in AbstractUnit or subclasses.
isEquivalentTo() allows to compare two units in a more flexible way, thus it seems beneficial to move that into the API element Unit. The other two methods are best located in AbstractUnit, so ComparableUnit can be dissolved.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions