FreeHEP API
Version current

hep.aida.ref.pdf
Interface HasUnits

All Known Implementing Classes:
Variable

public interface HasUnits

Interface implemented by classes with Units.

Author:
The FreeHEP team @ SLAC.
Source Code:
HasUnits.java

Method Summary
 void setUnits(Units units)
          Set the object's Units.
 Units units()
          Get the Units of the object.
 

Method Detail

units

public Units units()
Get the Units of the object.

Returns:
The object's Units.

setUnits

public void setUnits(Units units)
Set the object's Units.

Parameters:
units - The new Units.

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.