public final class DimensionlessUnit extends Unit<DimensionlessUnit>
Copyright (c) 2015-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUNITS License.
$LastChangedDate: 2019-01-18 00:35:01 +0100 (Fri, 18 Jan 2019) $, @version $Revision: 324 $, by $Author: averbraeck $,
initial version Jun 5, 2014
Modifier and Type | Field and Description |
---|---|
static DimensionlessUnit |
SI
The SI unit for a dimensionless unit is "1" or N/A.
|
STANDARD_UNITS
Modifier and Type | Method and Description |
---|---|
boolean |
equalsIgnoreNaming(Object obj)
Test if two units are the same, except for the name and abbreviation.
|
String |
getSICoefficientsString() |
DimensionlessUnit |
getStandardUnit() |
equals, generateHashCode, getAbbreviation, getAbbreviationKey, getAllUnitsOfThisType, getName, getNameKey, getScale, getSICoefficients, getUnits, getUnitSystem, hashCode, isBaseSIUnit, isLocalizable, lookupOrCreateSIUnitWithSICoefficients, lookupOrCreateUnitWithSICoefficients, lookupUnitWithSICoefficients, toString
public static final DimensionlessUnit SI
public DimensionlessUnit getStandardUnit()
getStandardUnit
in class Unit<DimensionlessUnit>
public String getSICoefficientsString()
getSICoefficientsString
in class Unit<DimensionlessUnit>
public boolean equalsIgnoreNaming(Object obj)
equalsIgnoreNaming
in class Unit<DimensionlessUnit>
obj
- Object; the object to compare withCopyright © 2015–2019 Delft University of Technology. All rights reserved.