Explorar el Código

Update DuplicateDeleter.java

Git-Leon hace 6 años
padre
commit
301347c8c4
Ninguna cuenta está vinculada al correo electrónico del colaborador

+ 2
- 2
src/main/java/com/zipcodewilmington/looplabs/DuplicateDeleter.java Ver fichero

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