Wouldn't this be nice?

Reinier Zwitserloot reinier at zwitserloot.com
Thu Nov 12 06:39:46 PST 2009


char to Character, obviously.

--Reinier Zwitserloot


On Thu, Nov 12, 2009 at 1:48 PM, Ulf Zibis <Ulf.Zibis at gmx.de> wrote:

> Sorry for missing the mailing list by CC:
>
>
> Am 11.11.2009 20:12, Joshua Bloch schrieb:
> > Ulf,
> >
> > Presumably you mean interface CharSequence implements
> > Iterable<Character>.
> Yes right
> >  But I really want to avoid the boxing and unboxing.
> Can you explain where we have boxing and unboxing here?
>
> Thanks,
> Ulf
>
> >
> >         Regards,
> >
> >         Josh
> >
> > On Wed, Nov 11, 2009 at 11:00 AM, Ulf Zibis <Ulf.Zibis at gmx.de
> > <mailto:Ulf.Zibis at gmx.de>> wrote:
> >
> >     Am 11.11.2009 17:46, Joshua Bloch schrieb:
> >
> >         Paulo,
> >
> >         I have a hard time intuiting the semantics by just looking a
> >         the statement.
> >          What I'm really sorry that I didn't put into the original
> >         statement is:
> >
> >          for (char c : myString)
> >
> >
> >     Another Idea:
> >
> >     interface CharSequence implements Iterable
> >
> >     -Ulf
> >
> >
> >
>
>
>



More information about the coin-dev mailing list