Class FloatBuilderFactory

  • All Implemented Interfaces:
    BuilderFactory

    public class FloatBuilderFactory
    extends java.lang.Object
    implements BuilderFactory
    Factory class for getting instances of the various builder classes needed to build an ApfloatImpl with the float data element type.
    Version:
    1.9.0
    • Constructor Detail

      • FloatBuilderFactory

        public FloatBuilderFactory()
        Default constructor.
    • Method Detail

      • getAdditionBuilder

        public <T> AdditionBuilder<T> getAdditionBuilder​(java.lang.Class<T> elementType)
                                                  throws java.lang.IllegalArgumentException
        Description copied from interface: BuilderFactory
        Returns an AdditionBuilder object.
        Specified by:
        getAdditionBuilder in interface BuilderFactory
        Type Parameters:
        T - The element type of the additions.
        Parameters:
        elementType - The element type of the additions.
        Returns:
        An AdditionBuilder object.
        Throws:
        java.lang.IllegalArgumentException - In case of unsupported element type.
      • getCarryCRTBuilder

        public <T> CarryCRTBuilder<T> getCarryCRTBuilder​(java.lang.Class<T> elementArrayType)
                                                  throws java.lang.IllegalArgumentException
        Description copied from interface: BuilderFactory
        Returns a CarryCRTBuilder object.
        Specified by:
        getCarryCRTBuilder in interface BuilderFactory
        Type Parameters:
        T - The element array type of the carry-CRT.
        Parameters:
        elementArrayType - The element array type of the carry-CRT.
        Returns:
        A CarryCRTBuilder object.
        Throws:
        java.lang.IllegalArgumentException - In case of unsupported element array type.
      • getElementType

        public java.lang.Class<?> getElementType()
        Description copied from interface: BuilderFactory
        Returns the element type of the data objects created.
        Specified by:
        getElementType in interface BuilderFactory
        Returns:
        The element type of the data objects created.
      • getElementArrayType

        public java.lang.Class<?> getElementArrayType()
        Description copied from interface: BuilderFactory
        Returns the element array type of the data objects created.
        Specified by:
        getElementArrayType in interface BuilderFactory
        Returns:
        The element array type of the data objects created.
      • getElementSize

        public int getElementSize()
        Description copied from interface: BuilderFactory
        Returns the element size of the data objects created, in bytes.
        Specified by:
        getElementSize in interface BuilderFactory
        Returns:
        The element size of the data objects created, in bytes.