t; }
>>
>> @Override
>> public SearchResult next() {
>> String next = this.iterator().next();
>> return this.get(next);
>> }
>> }
>>
>>
>> Calls (hasNext() and next()) are done in org.apache.struts2.components.
>> IteratorComponent
>>
&
eu MARC
>
>
> -Message d'origine-
> De : Steven Yang [mailto:kenshin...@gmail.com]
> Envoyé : mardi 10 mai 2011 15:16
> À : Struts Users Mailing List
> Objet : Re: Tag iterator and my object container
>
> you need to implement the Iterator interface
>
&
nshin...@gmail.com]
Envoyé : mardi 10 mai 2011 15:16
À : Struts Users Mailing List
Objet : Re: Tag iterator and my object container
you need to implement the Iterator interface
On Tue, May 10, 2011 at 4:14 PM, wrote:
> Hi everybody,
>
> I have a container object SearchResults which contain
Or just access the map and use the Map.Entry object map iterators supply.
Dave
On May 10, 2011 9:16 AM, "Steven Yang" wrote:
> you need to implement the Iterator interface
>
> On Tue, May 10, 2011 at 4:14 PM, wrote:
>
>> Hi everybody,
>>
>> I have a container object SearchResults which contains
you need to implement the Iterator interface
On Tue, May 10, 2011 at 4:14 PM, wrote:
> Hi everybody,
>
> I have a container object SearchResults which contains a treeMap of simple
> object SearchResult.
>
> I want to iterate over SearchResults in order to display properties of all
> SearchResult
Hi everybody,
I have a container object SearchResults which contains a treeMap of simple
object SearchResult.
I want to iterate over SearchResults in order to display properties of all
SearchResult object
Class SearchResult {
//getter and setter
getDescr
6 matches
Mail list logo