baseUnit

Gets the base unit of measurement that this unit is derived from. If the unit is the base unit, the unit will be returned.

Unit baseUnit = new Unit(null, ...);
baseUnit.getBaseUnit(); // returns baseUnit
Unit derivedUnit = new Unit(baseUnit, ...);
derivedUnit.getBaseUnit(); // returns baseUnit

Return

the base unit