Package ucar.units
Interface Base
-
- All Known Implementing Classes:
BaseQuantity
,BaseUnit
,RegularBaseQuantity
,SupplementaryBaseQuantity
,UnknownBaseQuantity
,UnknownUnit
public interface Base
Interface for "base" entities like base units or base quantities.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
equals(Object object)
Indicates if this base entity is semantically the same as another object.String
getID()
Returns the identifier for the base entity.boolean
isDimensionless()
Indicates if this base entity is dimensionless.
-
-
-
Method Detail
-
isDimensionless
boolean isDimensionless()
Indicates if this base entity is dimensionless.- Returns:
true
if and only if the base entity is dimensionless (e.g. (BaseQuantity.SOLID_ANGLE).
-
getID
String getID()
Returns the identifier for the base entity.- Returns:
- The base entity's identifier (i.e. symbol or name).
-
-