|
@ -96,8 +96,7 @@ public class SparseVector { |
|
|
} |
|
|
} |
|
|
if (now != null && now.index == index) { |
|
|
if (now != null && now.index == index) { |
|
|
pre.next = now.next; |
|
|
pre.next = now.next; |
|
|
// System.out.println("index " + index + " found and the value " + now.value + " |
|
|
|
|
|
// deleted."); |
|
|
|
|
|
|
|
|
// System.out.println("index " + index + " found and the value " + now.value + " deleted."); |
|
|
} else { |
|
|
} else { |
|
|
// System.out.println("Element not found with index " + index); |
|
|
// System.out.println("Element not found with index " + index); |
|
|
} |
|
|
} |
|
|