Formats a vector in components list format "{x; y; ...}".
The prefix and suffix "{" and "}" and the separator "; " can be replaced by any user-defined strings. The number format for components can be configured.
White space is ignored at parse time, even if it is in the prefix, suffix or separator specifications. So even if the default separator does include a space character that is used at format time, both input string "{1;1;1}" and " { 1 ; 1 ; 1 } " will be parsed without error and the same vector will be returned. In the second case, however, the parse position after parsing will be just after the closing curly brace, i.e. just before the trailing space.
Note: using "," as a separator may interfere with the grouping separator of the default {@link NumberFormat} for the current locale. Thus it is advisedto use a {@link NumberFormat} instance with disabled grouping in such a case.
@param < S> Type of the space.
@since 3.0