| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 7f73e11 commit 8f0b88b
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -28,19 +28,19 @@ void setup() { | |||
| 28 | 28 | void draw() { | |
| 29 | 29 | background(255); | |
| 30 | 30 | ||
| 31 | - // With an array, we say balls.length. With an ArrayList, | ||
| 32 | - // we say balls.size(). The length of an ArrayList is dynamic. | ||
| 31 | + // With an array, we say balls.length. With an ArrayList, | ||
| 32 | + // we say balls.size(). The length of an ArrayList is dynamic. | ||
| 33 | 33 | // Notice how we are looping through the ArrayList backwards. | |
| 34 | 34 | // This is because we are deleting elements from the list. | |
| 35 | - for (int i = balls.size()-1; i >= 0; i--) { | ||
| 35 | + for (int i = balls.size()-1; i >= 0; i--) { | ||
| 36 | 36 | Ball ball = balls.get(i); | |
| 37 | 37 | ball.move(); | |
| 38 | 38 | ball.display(); | |
| 39 | 39 | if (ball.finished()) { | |
| 40 | 40 | // Items can be deleted with remove(). | |
| 41 | 41 | balls.remove(i); | |
| 42 | 42 | } | |
| 43 | - } | ||
| 43 | + } | ||
| 44 | 44 | } | |
| 45 | 45 | ||
| 46 | 46 | void mousePressed() { | |
@@ -68,7 +68,7 @@ ArrayList&lt;Type&gt;(<c>initialCapacity</c>) | |||
| 68 | 68 | ||
| 69 | 69 | <parameter> | |
| 70 | 70 | <label>Type</label> | |
| 71 | - <cdescription>Class Name: the data type for the objects to be placed in the ArrayList.</description> | ||
| 71 | + <description>Class Name: the data type for the objects to be placed in the ArrayList.</description> | ||
| 72 | 72 | </parameter> | |
| 73 | 73 | ||
| 74 | 74 | <parameter> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -23,14 +23,14 @@ javadoc -doclet ProcessingWeblet \ | |||
| 23 | 23 | -corepackage processing.event \ | |
| 24 | 24 | -corepackage processing.opengl \ | |
| 25 | 25 | -rootclass PConstants \ | |
| 26 | - -noisy \ | ||
| 27 | 26 | ../../../processing/java/libraries/net/src/processing/net/*.java \ | |
| 28 | 27 | ../../../processing/java/libraries/serial/src/processing/serial/*.java \ | |
| 29 | 28 | ../../../processing/java/libraries/video/src/processing/video/*.java \ | |
| 30 | 29 | ../../../processing/core/src/processing/core/*.java \ | |
| 31 | 30 | ../../../processing/core/src/processing/data/*.java \ | |
| 32 | 31 | ../../../processing/core/src/processing/event/*.java \ | |
| 33 | - ../../../processing/core/src/processing/opengl/*.java | ||
| 32 | + ../../../processing/core/src/processing/opengl/*.java \ | ||
| 33 | + -noisy | ||
| 34 | 34 | ||
| 35 | 35 | ||
| 36 | 36 | # COPY IMAGES FROM CONTENT FOLDER TO CORRECT FOLDERS | |
| Back | FazBrowse Home | New Git URL |
0 commit comments