Right now the internals of SimpleUnitFormat contain the notion of nameToUnit and unitToName, but they are not really names, because only label or alias are used at the moment.
Along the lines of isValidIdentifier those should be renamed to something like identifierToUnit and unitToIdentifier or idToUnit, etc.
Right now the internals of
SimpleUnitFormatcontain the notion ofnameToUnitandunitToName, but they are not really names, because only label oraliasare used at the moment.Along the lines of
isValidIdentifierthose should be renamed to something likeidentifierToUnitandunitToIdentifieroridToUnit, etc.