Re: [math] formatting composite objects

2008-07-29 Thread Luc Maisonobe
Brent Worden a écrit : > The getInstance() method can not return a sole instance because the > default locale can change via java.util.Locale#setDefault > > The purpose of the format setters is to provide similar behavior as > found on java.text.NumberFormat with the ability to modify formatting >

Re: [math] formatting composite objects

2008-07-28 Thread Brent Worden
The getInstance() method can not return a sole instance because the default locale can change via java.util.Locale#setDefault The purpose of the format setters is to provide similar behavior as found on java.text.NumberFormat with the ability to modify formatting parameters. They provide a conven

Re: [math] formatting composite objects

2008-07-27 Thread Phil Steitz
Luc Maisonobe wrote: Hello, I am writing a new Vector3DFormat class in the spirit of the ComplexFormat class for input/output. Since some parts are common (parsing one component, handling locales), I have extracted a CompositeFormat base class from ComplexFormat and will use it as the base clas

Re: [math] formatting composite objects

2008-07-26 Thread Luc Maisonobe
Partially answering to myself ... Luc Maisonobe a écrit : > Hello, > > I am writing a new Vector3DFormat class in the spirit of the > ComplexFormat class for input/output. > > Since some parts are common (parsing one component, handling locales), I > have extracted a CompositeFormat base class f

[math] formatting composite objects

2008-07-26 Thread Luc Maisonobe
Hello, I am writing a new Vector3DFormat class in the spirit of the ComplexFormat class for input/output. Since some parts are common (parsing one component, handling locales), I have extracted a CompositeFormat base class from ComplexFormat and will use it as the base class for Vector3D and perh