Class DoubleArrayFormatter

  • All Implemented Interfaces:
    com.quartetfs.fwk.format.IFormatter, com.quartetfs.fwk.format.IPatternFormatter, com.quartetfs.fwk.types.IExtendedPluginValue, Serializable

    @QuartetExtendedPluginValue(intf=com.quartetfs.fwk.format.IFormatter.class,
                                key="DOUBLE_ARRAY")
    public class DoubleArrayFormatter
    extends com.quartetfs.fwk.format.impl.APatternFormatter
    A formatter used to display all the elements in a double array/vector. Can format single double values if required.

    Optional: Set the pattern for individual double values.

    Optional: Limit the number of elements displayed by setting the pattern to the limit number.

    Examples: DOUBLE_ARRAY[15] - format up to the 15th element. DOUBLE_ARRAY[#.##] - format each value to 2 decimal places, for the entire vector. DOUBLE_ARRAY[#.00|10] - format up to the 10th element and apply formatting.
    Author:
    ActiveViam
    See Also:
    Serialized Form
    • Constructor Detail

      • DoubleArrayFormatter

        public DoubleArrayFormatter​(Locale locale)
      • DoubleArrayFormatter

        public DoubleArrayFormatter​(Locale locale,
                                    String pattern)