Package org.apfloat.internal
Class LongAdditionBuilder
java.lang.Object
org.apfloat.internal.LongAdditionBuilder
- All Implemented Interfaces:
AdditionBuilder<Long>
Creates additions for the specified radix and the
long
element type.- Since:
- 1.7.0
- Version:
- 1.7.0
- Author:
- Mikko Tommila
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateAddition
(int radix) Returns an addition strategy of suitable type for the specified radix.
-
Constructor Details
-
LongAdditionBuilder
public LongAdditionBuilder()Default constructor.
-
-
Method Details
-
createAddition
Description copied from interface:AdditionBuilder
Returns an addition strategy of suitable type for the specified radix.- Specified by:
createAddition
in interfaceAdditionBuilder<Long>
- Parameters:
radix
- The radix that will be used.- Returns:
- A suitable object for performing the addition.
-