Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public Pista inverti(){
- Collections.reverse(segmenti);
- int cont = 1;
- Iterator<Segmento> it = segmenti.iterator();
- while(it.hasNext()){
- it.next().cambiaProg(cont);
- cont++;
- }
- Pista p = new Pista(segmenti);
- return p;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement