Proclipsing --> Iterator error
in
Contributed Library Questions
•
6 months ago
Hi,
I am working in Eclipse using proclipsing.
I have an error on Iterator. Eclipse do not give any solutions. My script works fine on Processing but on Eclipse Iterator does nots work?
Could you help me please?
- void run(){
- Iterator<Particle> it = particles.iterator();
- while (it.hasNext()){
- Particle p = it.next();
- p.display();
- if(p.isDead()){
- it.remove();
- }
- }
- }
- }
1