Class DoubleAdditionBuilder

java.lang.Object
org.apfloat.internal.DoubleAdditionBuilder
All Implemented Interfaces:
AdditionBuilder<Double>

public class DoubleAdditionBuilder extends Object implements AdditionBuilder<Double>
Creates additions for the specified radix and the double element type.

Since:
1.7.0
Version:
1.7.0
Author:
Mikko Tommila
  • Constructor Details

    • DoubleAdditionBuilder

      public DoubleAdditionBuilder()
      Default constructor.
  • Method Details

    • createAddition

      public AdditionStrategy<Double> createAddition(int radix)
      Description copied from interface: AdditionBuilder
      Returns an addition strategy of suitable type for the specified radix.
      Specified by:
      createAddition in interface AdditionBuilder<Double>
      Parameters:
      radix - The radix that will be used.
      Returns:
      A suitable object for performing the addition.