Skip to content

Commit 6af71d1

Browse files
committed
Reference fix for IntList
1 parent 24c797e commit 6af71d1

1 file changed

Lines changed: 19 additions & 19 deletions

File tree

core/src/processing/data/IntList.java

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ private void crop() {
7676
/**
7777
* Get the length of the list.
7878
*
79-
* @webref floatlist:method
79+
* @webref intlist:method
8080
* @brief Get the length of the list
8181
*/
8282
public int size() {
@@ -100,7 +100,7 @@ public void resize(int length) {
100100
/**
101101
* Remove all entries from the list.
102102
*
103-
* @webref floatlist:method
103+
* @webref intlist:method
104104
* @brief Remove all entries from the list
105105
*/
106106
public void clear() {
@@ -111,7 +111,7 @@ public void clear() {
111111
/**
112112
* Get an entry at a particular index.
113113
*
114-
* @webref floatlist:method
114+
* @webref intlist:method
115115
* @brief Get an entry at a particular index
116116
*/
117117
public int get(int index) {
@@ -124,7 +124,7 @@ public int get(int index) {
124124
* the list, it'll expand the list to accommodate, and fill the intermediate
125125
* entries with 0s.
126126
*
127-
* @webref floatlist:method
127+
* @webref intlist:method
128128
* @brief Set the entry at a particular index
129129
*/
130130
public void set(int index, int what) {
@@ -142,7 +142,7 @@ public void set(int index, int what) {
142142
/**
143143
* Remove an element from the specified index
144144
*
145-
* @webref floatlist:method
145+
* @webref intlist:method
146146
* @brief Remove an element from the specified index
147147
*/
148148
public int remove(int index) {
@@ -195,7 +195,7 @@ public int removeValues(int value) {
195195
/**
196196
* Add a new entry to the list.
197197
*
198-
* @webref floatlist:method
198+
* @webref intlist:method
199199
* @brief Add a new entry to the list
200200
*/
201201
public void append(int value) {
@@ -357,7 +357,7 @@ public int index(int what) {
357357
// }
358358

359359
/**
360-
* @webref floatlist:method
360+
* @webref intlist:method
361361
* @brief Check if a number is a part of the list
362362
*/
363363
public boolean hasValue(int value) {
@@ -374,39 +374,39 @@ public boolean hasValue(int value) {
374374
}
375375

376376
/**
377-
* @webref floatlist:method
377+
* @webref intlist:method
378378
* @brief Add one to a value
379379
*/
380380
public void increment(int index) {
381381
data[index]++;
382382
}
383383

384384
/**
385-
* @webref floatlist:method
385+
* @webref intlist:method
386386
* @brief Add to a value
387387
*/
388388
public void add(int index, int amount) {
389389
data[index] += amount;
390390
}
391391

392392
/**
393-
* @webref floatlist:method
393+
* @webref intlist:method
394394
* @brief Subtract from a value
395395
*/
396396
public void sub(int index, int amount) {
397397
data[index] -= amount;
398398
}
399399

400400
/**
401-
* @webref floatlist:method
401+
* @webref intlist:method
402402
* @brief Multiply a value
403403
*/
404404
public void mult(int index, int amount) {
405405
data[index] *= amount;
406406
}
407407

408408
/**
409-
* @webref floatlist:method
409+
* @webref intlist:method
410410
* @brief Divide a value
411411
*/
412412
public void div(int index, int amount) {
@@ -425,7 +425,7 @@ private void checkMinMax(String functionName) {
425425

426426

427427
/**
428-
* @webref floatlist:method
428+
* @webref intlist:method
429429
* @brief Return the smallest value
430430
*/
431431
public int min() {
@@ -455,7 +455,7 @@ public int minIndex() {
455455

456456

457457
/**
458-
* @webref floatlist:method
458+
* @webref intlist:method
459459
* @brief Return the largest value
460460
*/
461461
public int max() {
@@ -487,7 +487,7 @@ public int maxIndex() {
487487
/**
488488
* Sorts the array in place.
489489
*
490-
* @webref floatlist:method
490+
* @webref intlist:method
491491
* @brief Sorts the array, lowest to highest
492492
*/
493493
public void sort() {
@@ -498,7 +498,7 @@ public void sort() {
498498
/**
499499
* Reverse sort, orders values from highest to lowest.
500500
*
501-
* @webref floatlist:method
501+
* @webref intlist:method
502502
* @brief Reverse sort, orders values from highest to lowest
503503
*/
504504
public void sortReverse() {
@@ -541,7 +541,7 @@ public void swap(int a, int b) {
541541
// }
542542

543543
/**
544-
* @webref floatlist:method
544+
* @webref intlist:method
545545
* @brief Reverse sort, orders values by first digit
546546
*/
547547
public void reverse() {
@@ -559,7 +559,7 @@ public void reverse() {
559559
* Randomize the order of the list elements. Note that this does not
560560
* obey the randomSeed() function in PApplet.
561561
*
562-
* @webref floatlist:method
562+
* @webref intlist:method
563563
* @brief Randomize the order of the list elements
564564
*/
565565
public void shuffle() {
@@ -634,7 +634,7 @@ public boolean hasNext() {
634634
* Create a new array with a copy of all the values.
635635
*
636636
* @return an array sized by the length of the list with each of the values.
637-
* @webref floatlist:method
637+
* @webref intlist:method
638638
* @brief Create a new array with a copy of all the values
639639
*/
640640
public int[] array() {

0 commit comments

Comments
 (0)