Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Didattica > Corsi N - Z > Programmazione > [Capra] Terzo Progettino
Pages (8): [1] 2 3 4 5 » ... Last »   Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
johnnyd
.grande:maestro.

User info:
Registered: Sep 2005
Posts: 840 (0.12 al dì)
Location: Milano (Fragagnano)
Corso: Informatica
Anno: IV
Time Online: 13 Days, 22:13:29 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
[Capra] Terzo Progettino

dite che lo pubblicherà il 30 e poi lo vorrà per il 31?

__________________
My Blog - My Photo Album

26-01-2006 09:43
Click Here to See the Profile for johnnyd Click Here to See the Blog of johnnyd Click here to Send johnnyd a Private Message Find more posts by johnnyd Add johnnyd to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
johnnyd
.grande:maestro.

User info:
Registered: Sep 2005
Posts: 840 (0.12 al dì)
Location: Milano (Fragagnano)
Corso: Informatica
Anno: IV
Time Online: 13 Days, 22:13:29 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

azz...l'ha messo..è un pò difficilotto :D ragà ma qui ci si può aiutare a vicenda?

__________________
My Blog - My Photo Album

26-01-2006 11:11
Click Here to See the Profile for johnnyd Click Here to See the Blog of johnnyd Click here to Send johnnyd a Private Message Find more posts by johnnyd Add johnnyd to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Antonio86
.consigliere.

User info:
Registered: Oct 2005
Posts: 148 (0.02 al dì)
Location: Novara
Corso: Informatica
Anno: Primo
Time Online: 19:09:36 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Qualcuno ha capito che cosa sostanzialmente bisogna fare? Sembrerebbe dall'intestazione una classe che implementa Iterator, ma non ne sono sicuro.

__________________
You byte the hand that feeds you

27-01-2006 13:32
Click Here to See the Profile for Antonio86 Click here to Send Antonio86 a Private Message Find more posts by Antonio86 Add Antonio86 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
johnnyd
.grande:maestro.

User info:
Registered: Sep 2005
Posts: 840 (0.12 al dì)
Location: Milano (Fragagnano)
Corso: Informatica
Anno: IV
Time Online: 13 Days, 22:13:29 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

io nn so da dove cominciare ...
hai msn antò?
io ho fatto una classe tipo occorrenza cn qualke metodo in più xò nn ho capito kosa sia questo multiset..grrr

__________________
My Blog - My Photo Album

28-01-2006 13:30
Click Here to See the Profile for johnnyd Click Here to See the Blog of johnnyd Click here to Send johnnyd a Private Message Find more posts by johnnyd Add johnnyd to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Antonio86
.consigliere.

User info:
Registered: Oct 2005
Posts: 148 (0.02 al dì)
Location: Novara
Corso: Informatica
Anno: Primo
Time Online: 19:09:36 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

neppure io...le sto provando tutte ma non capisco come fare...

__________________
You byte the hand that feeds you

28-01-2006 15:04
Click Here to See the Profile for Antonio86 Click here to Send Antonio86 a Private Message Find more posts by Antonio86 Add Antonio86 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
johnnyd
.grande:maestro.

User info:
Registered: Sep 2005
Posts: 840 (0.12 al dì)
Location: Milano (Fragagnano)
Corso: Informatica
Anno: IV
Time Online: 13 Days, 22:13:29 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

hai questo cavolo di msn??? :D:D:D:D

__________________
My Blog - My Photo Album

28-01-2006 18:13
Click Here to See the Profile for johnnyd Click Here to See the Blog of johnnyd Click here to Send johnnyd a Private Message Find more posts by johnnyd Add johnnyd to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Antonio86
.consigliere.

User info:
Registered: Oct 2005
Posts: 148 (0.02 al dì)
Location: Novara
Corso: Informatica
Anno: Primo
Time Online: 19:09:36 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Non ce l'ho.

__________________
You byte the hand that feeds you

29-01-2006 08:31
Click Here to See the Profile for Antonio86 Click here to Send Antonio86 a Private Message Find more posts by Antonio86 Add Antonio86 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
dafth
.fedelissimo.

User info:
Registered: Oct 2005
Posts: 48 (0.01 al dì)
Location:
Corso:
Anno:
Time Online: 5:15:16 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ragazzi l'ho appena terminato, a voi come vanno le cose?
(per Antonio89) P.S. non conviene implementare la classe Iterator ricorda che devi mantenere due oggetti (elemento,molteplicità)
Un MultiSet non è altro che una struttura dati associativa
dove la chiave è l'elemento ed il valore è la molteplicità

29-01-2006 13:00
Click Here to See the Profile for dafth Click here to Send dafth a Private Message Find more posts by dafth Add dafth to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Kurt84
.consigliere.

User info:
Registered: Oct 2005
Posts: 146 (0.02 al dì)
Location:
Corso: Informatica
Anno: 1
Time Online: 3 Days, 9:07:39 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ma il metodo toIterable cosa deve restituire: un elenco di occorrenze iterabile o un elenco di oggetti?

cioè io avrei scritto return this.nuovo.iterator();

dove nuovo è la sequenza, così mi ha restituito una sequenza di occorrenze. Solo che compilando mi da errore dicendomi che deve restituire Iterable<e> e non Iterator<Occorrenza<E>>

29-01-2006 18:39
Click Here to See the Profile for Kurt84 Click here to Send Kurt84 a Private Message Find more posts by Kurt84 Add Kurt84 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
dafth
.fedelissimo.

User info:
Registered: Oct 2005
Posts: 48 (0.01 al dì)
Location:
Corso:
Anno:
Time Online: 5:15:16 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

this.nuovo è un'istanza della classe Occorrenza<E> ???

29-01-2006 18:45
Click Here to See the Profile for dafth Click here to Send dafth a Private Message Find more posts by dafth Add dafth to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
dafth
.fedelissimo.

User info:
Registered: Oct 2005
Posts: 48 (0.01 al dì)
Location:
Corso:
Anno:
Time Online: 5:15:16 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

*Sequenza<E> non Occorrenza <E> :)

29-01-2006 18:46
Click Here to See the Profile for dafth Click here to Send dafth a Private Message Find more posts by dafth Add dafth to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
dafth
.fedelissimo.

User info:
Registered: Oct 2005
Posts: 48 (0.01 al dì)
Location:
Corso:
Anno:
Time Online: 5:15:16 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Suppongo
this.nuovo = new Sequanza<E>

prova a mettere

return this.nuovo

29-01-2006 18:47
Click Here to See the Profile for dafth Click here to Send dafth a Private Message Find more posts by dafth Add dafth to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Kurt84
.consigliere.

User info:
Registered: Oct 2005
Posts: 146 (0.02 al dì)
Location:
Corso: Informatica
Anno: 1
Time Online: 3 Days, 9:07:39 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

MultiSet.java:108: incompatible types
found : prog.utili.Insieme<prog.utili.Occorrenza<E>>
required: java.lang.Iterable<E>

scusa nn avevo specificato, this.nuovo è new Insieme<Occorrenza<E>>

29-01-2006 18:53
Click Here to See the Profile for Kurt84 Click here to Send Kurt84 a Private Message Find more posts by Kurt84 Add Kurt84 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
dafth
.fedelissimo.

User info:
Registered: Oct 2005
Posts: 48 (0.01 al dì)
Location:
Corso:
Anno:
Time Online: 5:15:16 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Potresti provare in questo modo anche se un pò macchinoso

code:
Sequenza<E> sequenza = new Sequenza<E>(); for (Occorrenza<E> occorrenza : nuovo) for (int i = 0; i< occorrenza.getValoreContatore(); i++) sequenza.add(occorrenza.get()); return sequenza;


in questo modo restituisce un Iterable con tutte le occorrenze considerando le ripetizioni

oppure al posto di Sequanza<E> puoi utilizzare Insieme<E>

Last edited by dafth on 29-01-2006 at 19:14

29-01-2006 19:02
Click Here to See the Profile for dafth Click here to Send dafth a Private Message Find more posts by dafth Add dafth to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
dafth
.fedelissimo.

User info:
Registered: Oct 2005
Posts: 48 (0.01 al dì)
Location:
Corso:
Anno:
Time Online: 5:15:16 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

P.S. scusa per gli errori nel codice ho scritto veloce :)

29-01-2006 19:03
Click Here to See the Profile for dafth Click here to Send dafth a Private Message Find more posts by dafth Add dafth to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 19:54.    Post New Thread    Post A Reply
Pages (8): [1] 2 3 4 5 » ... Last »   Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.298 seconds (74.01% PHP - 25.99% MySQL) con 26 query.