public interface UBRatio extends java.io.Serializable, UBStreamable, XBEditableAttribute
| Modifier and Type | Field and Description | 
|---|---|
static long[] | 
XBUP_BLOCKREV_CATALOGPATH  | 
| Modifier and Type | Method and Description | 
|---|---|
double | 
getDouble()
Gets double value. 
 | 
float | 
getFloat()
Gets float value. 
 | 
int | 
getInt()
Gets short integer value. 
 | 
long | 
getLong()
Gets long integer value. 
 | 
boolean | 
isZero()
Returns if value is zero. 
 | 
void | 
setValue(double value)
Sets double value. 
 | 
void | 
setValue(float value)
Sets float value. 
 | 
void | 
setValue(int value)
Sets integer value. 
 | 
void | 
setValue(long value)
Sets long integer value. 
 | 
convertFromNatural, setNaturalInt, setNaturalLong, setNaturalZeroconvertToNatural, getNaturalInt, getNaturalLong, isNaturalZerofromStreamUB, getSizeUB, toStreamUBint getInt()
    throws UBOverFlowException
UBOverFlowException - if value is out of rangelong getLong()
      throws UBOverFlowException
UBOverFlowException - if value is out of rangefloat getFloat()
        throws UBOverFlowException
UBOverFlowException - if value is out of rangedouble getDouble()
          throws UBOverFlowException
UBOverFlowException - if value is out of rangeboolean isZero()
void setValue(int value)
       throws UBOverFlowException
value - integer valueUBOverFlowExceptionvoid setValue(long value)
       throws UBOverFlowException
value - long integer valueUBOverFlowExceptionvoid setValue(float value)
       throws UBOverFlowException
value - float valueUBOverFlowExceptionvoid setValue(double value)
       throws UBOverFlowException
value - double valueUBOverFlowException