Package ucar.units
Interface Base
-
- All Known Implementing Classes:
BaseQuantity,BaseUnit,RegularBaseQuantity,SupplementaryBaseQuantity,UnknownBaseQuantity,UnknownUnit
public interface BaseInterface for "base" entities like base units or base quantities.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanequals(Object object)Indicates if this base entity is semantically the same as another object.StringgetID()Returns the identifier for the base entity.booleanisDimensionless()Indicates if this base entity is dimensionless.
-
-
-
Method Detail
-
isDimensionless
boolean isDimensionless()
Indicates if this base entity is dimensionless.- Returns:
trueif 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).
-
-