Forums for you Fast forums in a simple way
 Registrati
user
password
 


Home->it.comp.java
Rispondi  Torna al forum Notizie

Re: Problema ArrayList


  • Subject: Re: Problema ArrayList
  • From: Jack
  • Data: Tue, 22 Jul 2008 08:31:12 +0200 (CEST)
  • Newsgroups: it.comp.java


"toto" <tomz814LEVAMI@yahoo.it> wrote in news:g62du8$mmq$1@tdi.cu.mi.it:

>   while(bbb) {
>
>    String[] tmp = test;
>
>    tmp[1] = "pippo"+i;
>    tmp[2] = "pluto"+i;
>
>    lista.add(tmp);
>
>    i++;
>
>    if(i == 4)
>     bbb = false;
>   }
> [/codice]

ma fare un:

do{

//...

}while(i != 4)

oppure un

for(i = 0;i<=4;i++){

//...
}

pareva brutto?
(giusto per evitare di usare bbb eh).

Ciao Jack
--
Eroi non si nasce, ti incastrano
- Jim Belushi


Subject Mittente Data
Problema ArrayList# Problema ArrayList toto 21/07/2008
Problema ArrayListRe: Problema ArrayList# Re: Problema ArrayList Jack 22/07/2008
Problema ArrayListRe: Problema ArrayList\# Re: Problema ArrayList toto 22/07/2008
Problema ArrayListRe: Problema ArrayList# Re: Problema ArrayList toto 21/07/2008
Problema ArrayListRe: Problema ArrayList\# Re: Problema ArrayList Lucio ... 21/07/2008


Torna a...>Re: Problema ArrayList
Cerca "Re: Problema ArrayList" con Gooogle SiteSearch
Google
 
Web www.forumsforyou.com







ForumsForYou non è responsabile dei contenuti degli articoli che vengono inseriti dagli utenti via rete Usenet e che quindi vengono pubblicati di conseguenza sul nostro news server. Si vieta l'utilizzo delle email allegate nei vari articoli per l'invio di mail non richieste.

Copyright 2006 Powered by JTechnology s.r.l. All rights reserved.