org.apfloat.internal.LongAdditionBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of apfloat Show documentation
Show all versions of apfloat Show documentation
High performance arbitrary precision arithmetic library
package org.apfloat.internal;
import org.apfloat.spi.AdditionBuilder;
import org.apfloat.spi.AdditionStrategy;
/**
* Creates additions for the specified radix and the long
element type.
*
* @since 1.7.0
* @version 1.7.0
* @author Mikko Tommila
*/
public class LongAdditionBuilder
implements AdditionBuilder
{
/**
* Default constructor.
*/
public LongAdditionBuilder()
{
}
public AdditionStrategy createAddition(int radix)
{
AdditionStrategy additionStrategy = new LongAdditionStrategy(radix);
return additionStrategy;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy