[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Trying to free f2c



Hi Andreas,

El Vie, 29 de Ene de 16, a las 11:20 AM, Andreas Tille escribió:
> On Fri, Jan 29, 2016 at 04:58:48PM +0100, Emmanuel Bourg wrote:
> > Le 29/01/2016 16:44, Andreas Tille a écrit :
> > 
> > > I wonder whether some Java programmer could provide some simple
> > > replacement.
> > 
> > Sun did that for us 11 years ago in Java 5 ;) Try this replacement:
> > 
> >     s = String.format(fmtstr, o);
> 
> What do I need to import to access this?

I guess nothing at all, it's currently included [0] in java.lang package
by default.

Regards,

[0]
https://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html#format%28java.lang.String,%20java.lang.Object...%29
-- 
Fernando C. Estrada


Reply to: