Package org.apfloat.spi
Interface AdditionBuilder<T>
- Type Parameters:
T
- The element type of the addition strategies.
- All Known Implementing Classes:
DoubleAdditionBuilder
,FloatAdditionBuilder
,IntAdditionBuilder
,LongAdditionBuilder
public interface AdditionBuilder<T>
Interface of a factory for creating addition strategies.
The factory method pattern is used.
- Since:
- 1.7.0
- Version:
- 1.7.0
- Author:
- Mikko Tommila
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioncreateAddition
(int radix) Returns an addition strategy of suitable type for the specified radix.
-
Method Details
-
createAddition
Returns an addition strategy of suitable type for the specified radix.- Parameters:
radix
- The radix that will be used.- Returns:
- A suitable object for performing the addition.
-