Pārlūkot izejas kodu

Update DuplicateDeleter.java

Git-Leon 6 gadus atpakaļ
vecāks
revīzija
301347c8c4
Revīzijas autora e-pasts nav piesaistīts nevienam kontam

+ 2
- 2
src/main/java/com/zipcodewilmington/looplabs/DuplicateDeleter.java Parādīt failu

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
+}