Class NumericEditedFormat

java.lang.Object
All Implemented Interfaces:
NumericEditedDisplay

public final class NumericEditedFormat extends AbstractNumericFormat implements NumericEditedDisplay
Provides a formatter that emulates COBOL's Numeric-Edited PICTURE functionality in Java. Given a pattern containing edit symbols (e.g. "+", "-", "Z", "*", ".", etc.), digit counts (9), and repetition markers (n), this class renders a numeric value by: 1) inserting and positioning edit symbols (signs, currency, decimal points) 2) suppressing leading zeros or replacing them with blanks or alternative symbols 3) enforcing fixed field widths via repetition counts 4) supporting implied decimal points with explicit "." in the pattern This implementation delivers a faithful, high-performance Java equivalent of COBOL's numeric-edited formatting for use in mission-critical data-conversion workflows.