Is .remove a built in function?
in
Programming Questions
•
1 year ago
Hi,
I've been examining an example in the reference http://processing.org/learning/topics/arraylistclass.html which creates and destroyes element objects in an array.
I see there are three methods: move(), finished() and display() but what about .remove which seems to me a method but isn't in the class? Is this a built in function of some sort? Where can I read about this in the reference and also the 'add' in balls .add(new Ball(mouseX, mouseY, ballWidth));
Thanks,
Shane
I've been examining an example in the reference http://processing.org/learning/topics/arraylistclass.html which creates and destroyes element objects in an array.
I see there are three methods: move(), finished() and display() but what about .remove which seems to me a method but isn't in the class? Is this a built in function of some sort? Where can I read about this in the reference and also the 'add' in balls .add(new Ball(mouseX, mouseY, ballWidth));
Thanks,
Shane
1