public final class RegularBaseQuantity extends BaseQuantity
AMOUNT_OF_SUBSTANCE, ELECTRIC_CURRENT, LENGTH, LUMINOUS_INTENSITY, MASS, PLANE_ANGLE, SOLID_ANGLE, THERMODYNAMIC_TEMPERATURE, TIME, UNKNOWN
Modifier | Constructor and Description |
---|---|
|
RegularBaseQuantity(java.lang.String name,
java.lang.String symbol)
Constructs from a name and symbol.
|
protected |
RegularBaseQuantity(java.lang.String name,
java.lang.String symbol,
boolean trusted)
Constructs from a name and a symbol.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isDimensionless()
Indicates if this base quantity is dimensionless.
|
public RegularBaseQuantity(java.lang.String name, java.lang.String symbol) throws NameException
name
- The name of the base unit.symbol
- The symbol of the base unit.NameException
protected RegularBaseQuantity(java.lang.String name, java.lang.String symbol, boolean trusted)
name
- The name of the base unit.symbol
- The symbol of the base unit.public boolean isDimensionless()
isDimensionless
in interface Base
isDimensionless
in class BaseQuantity
false
.