|
@@ -4,7 +4,7 @@ package com.zipcodewilmington.looplabs;
|
4
|
4
|
* Created by leon on 1/25/18.
|
5
|
5
|
*/
|
6
|
6
|
public abstract class DuplicateDeleter<T> implements DuplicateDeleterInterface<T> {
|
7
|
|
- protected final T[] array;
|
|
7
|
+ protected T[] array;
|
8
|
8
|
|
9
|
9
|
public DuplicateDeleter(T[] intArray) {
|
10
|
10
|
this.array = intArray;
|
|
@@ -12,4 +12,4 @@ public abstract class DuplicateDeleter<T> implements DuplicateDeleterInterface<T
|
12
|
12
|
|
13
|
13
|
abstract public T[] removeDuplicates(int maxNumberOfDuplications);
|
14
|
14
|
abstract public T[] removeDuplicatesExactly(int exactNumberOfDuplications);
|
15
|
|
-}
|
|
15
|
+}
|