Class FloatFieldMapping

  • All Implemented Interfaces:
    FieldMapping

    public class FloatFieldMapping
    extends AbstractFieldMapping
    Field mapping for single-precision floating point number.
    Since:
    8.6
    • Method Detail

      • createField

        public FieldDescriptor createField​(float value)
        Create a field for the current mapping with the given value
        Parameters:
        value -
        Returns:
        the newly created field
      • accept

        public <T> T accept​(FieldMappingVisitor<T> visitor)
        Description copied from interface: FieldMapping
        Applies the supplied visitor to this field mapping with its respective callback.
        Parameters:
        visitor - The visitor to dispatch
        Returns:
        The value that is returned by the supplied visitor