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.

Version:
$Id: Base.java 64 2006-07-12 22:30:50Z edavis $
Author:
Steven R. Emmerson

Method Summary
 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).

equals

boolean equals(Object object)
Indicates if this base entity is semantically the same as another object.

Overrides:
equals in class Object
Parameters:
object - The other object.
Returns:
true if and only if this base entity is semantically the same as object.


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.