|
@@ -9,7 +9,7 @@ public final class StringDuplicateDeleter extends DuplicateDeleter<String> {
|
9
|
9
|
|
10
|
10
|
@Override
|
11
|
11
|
public String[] removeDuplicates(int maxNumberOfDuplications){
|
12
|
|
- Arrays.sort(this.array);
|
|
12
|
+ //Arrays.sort(this.array);
|
13
|
13
|
|
14
|
14
|
int sizeOfArray = this.numOfDupUnder(maxNumberOfDuplications);
|
15
|
15
|
String[] newArray = new String[sizeOfArray];
|
|
@@ -36,7 +36,7 @@ public final class StringDuplicateDeleter extends DuplicateDeleter<String> {
|
36
|
36
|
|
37
|
37
|
@Override
|
38
|
38
|
public String[] removeDuplicatesExactly(int exactNumberOfDuplications){
|
39
|
|
- Arrays.sort(this.array);
|
|
39
|
+ //Arrays.sort(this.array);
|
40
|
40
|
|
41
|
41
|
int sizeOfArray = this.numOfExactDup(exactNumberOfDuplications);
|
42
|
42
|
String[] newArray = new String[sizeOfArray];
|