Wouldn't this be nice?
Ulf Zibis
Ulf.Zibis at gmx.de
Thu Nov 12 04:48:23 PST 2009
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