1.0.0

org.eclipse.soda.dk.data
Interface Numeric

All Known Implementing Classes:
Degree, FixedInteger, FixedLong, Fraction, IntegerFraction, LatitudeData, LongFraction, LongitudeData

public interface Numeric

The Numeric interface defines the Numeric api.

Version:
1.0.0

Method Summary
 java.lang.Number add(java.lang.Number value)
          Add with the specified value parameter and return the Number result.
 java.lang.Number divide(java.lang.Number value)
          Divide with the specified value parameter and return the Number result.
 java.lang.Number multiply(java.lang.Number value)
          Multiply with the specified value parameter and return the Number result.
 java.lang.Number negate()
          Negate and return the Number result.
 java.lang.Number reciprocal()
          Reciprocal and return the Number result.
 java.lang.Number subtract(java.lang.Number value)
          Subtract with the specified value parameter and return the Number result.
 

Method Detail

add

java.lang.Number add(java.lang.Number value)
Add with the specified value parameter and return the Number result.

Parameters:
value - The value (Number) parameter.
Returns:
Results of the add (Number) value.

divide

java.lang.Number divide(java.lang.Number value)
Divide with the specified value parameter and return the Number result.

Parameters:
value - The value (Number) parameter.
Returns:
Results of the divide (Number) value.

multiply

java.lang.Number multiply(java.lang.Number value)
Multiply with the specified value parameter and return the Number result.

Parameters:
value - The value (Number) parameter.
Returns:
Results of the multiply (Number) value.

negate

java.lang.Number negate()
Negate and return the Number result.

Returns:
Results of the negate (Number) value.

reciprocal

java.lang.Number reciprocal()
Reciprocal and return the Number result.

Returns:
Results of the reciprocal (Number) value.

subtract

java.lang.Number subtract(java.lang.Number value)
Subtract with the specified value parameter and return the Number result.

Parameters:
value - The value (Number) parameter.
Returns:
Results of the subtract (Number) value.

1.0.0

Copyright (c) 1999, 2007 IBM