writeToArray() bugfix
This commit is contained in:
@@ -58,8 +58,8 @@ abstract class Sorter {
|
|||||||
* @param index the index to be written to
|
* @param index the index to be written to
|
||||||
* @param value the value to write
|
* @param value the value to write
|
||||||
*/
|
*/
|
||||||
void writeToArray(int[] array, int index, int value){
|
void writeToArray(Integer[] array, int index, int value){
|
||||||
array[index]==value;
|
array[index]=value;
|
||||||
writesUsed++;
|
writesUsed++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user