Re: java 1.5 foreach statement
From: Liz (Liz_at_nospam.com)
Date: 08/13/04
- Next message: Liz: "Re: throw in a finally"
- Previous message: Anony!: "Re: throw in a finally"
- In reply to: Anony!: "Re: java 1.5 foreach statement"
- Next in thread: Anony!: "Re: java 1.5 foreach statement"
- Reply: Anony!: "Re: java 1.5 foreach statement"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 13 Aug 2004 02:26:20 GMT
http://www.oreilly.com/catalog/javaadn/
So how come you can't google yourself?
"Anony!" <someone@something.com> wrote in message
news:WlVSc.54519$K53.34081@news-server.bigpond.net.au...
> Any Java books out that teaches 1.5 concepts?
>
> AAA
>
> "Christophe Vanfleteren" <c.v4nfl3t3r3n@pandora.be> wrote in message
> news:64SSc.212193$ox2.10679358@phobos.telenet-ops.be...
> > hugo wrote:
> >
> > > I was hoping that the expanded java 'for' statement would accept any
> > > class that had a method "Iterator iterator()". This doesn't seem to be
> > > the case. What types are accepted in the Iterator free for-loops?
> > > Subclasses of Collection<T>?
> > >
> > > thanks
> >
> > Any object that implements Iterable:
> >
> > http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Iterable.html
> >
> > --
> > Kind regards,
> > Christophe Vanfleteren
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.732 / Virus Database: 486 - Release Date: 29/07/2004
>
>
- Next message: Liz: "Re: throw in a finally"
- Previous message: Anony!: "Re: throw in a finally"
- In reply to: Anony!: "Re: java 1.5 foreach statement"
- Next in thread: Anony!: "Re: java 1.5 foreach statement"
- Reply: Anony!: "Re: java 1.5 foreach statement"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|