ch.panter.li.bi.asn.api
Interface NumericalValueInfo

All Known Subinterfaces:
DecimalValue, DecimalValueInfo, IntegralValue, IntegralValueInfo
All Known Implementing Classes:
AsnEnumerated, AsnInteger, AsnIntegralNumberValueBase, AsnReal

public interface NumericalValueInfo


Method Summary
 Number getValue()
           
 boolean isNegative()
          Determines whether this instance has a 'negative' value (not including zero).
 boolean isPositive()
          Determines whether this instance has a 'positive' value (not including zero).
 boolean isZero()
          Determines whether this instance has a 'zero' value.
 

Method Detail

getValue

Number getValue()

isZero

boolean isZero()
Determines whether this instance has a 'zero' value.

Returns:
true if the value is non-null and has the zero content of its respective class (Float, Double or BigDecimal).

isPositive

boolean isPositive()
Determines whether this instance has a 'positive' value (not including zero).

Returns:
true if the value is non-null and has a strictly positive content of its respective class (Float, Double or BigDecimal).

isNegative

boolean isNegative()
Determines whether this instance has a 'negative' value (not including zero).

Returns:
true if the value is non-null and has a strictly negative content of its respective class (Float, Double or BigDecimal).


Copyright 2007-2007 SourceForge. All Rights Reserved.