Package org.harctoolbox.irp
Interface Floatable
- All Known Implementing Classes:
Duration,Extent,Flash,FloatNumber,Gap,Name,NameOrNumber,NumberWithDecimals
public interface Floatable
Interface for classes that can produce an floating point number.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanconstant(NameEngine nameEngine) doubletoFloat(GeneralSpec generalSpec, NameEngine nameEngine) Produces a floating result.toIrpString(int radix)
-
Method Details
-
toFloat
double toFloat(GeneralSpec generalSpec, NameEngine nameEngine) throws IrpInvalidArgumentException, NameUnassignedException Produces a floating result.- Parameters:
generalSpec-nameEngine-- Returns:
- Floating representation of class.
- Throws:
IrpInvalidArgumentExceptionNameUnassignedException
-
toElement
-
toIrpString
-
constant
-