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:
AdditionStrategy
  • Method Summary

    Modifier and Type
    Method
    Description
    createAddition​(int radix)
    Returns an addition strategy of suitable type for the specified radix.
  • Method Details

    • createAddition

      AdditionStrategy<T> createAddition(int radix)
      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.