问题是,当我从元素类型对象转换为MyLinkedList<Integer>或MyLinkedList<Double>时,我得到了错误:“类型不匹配:无法从元素类型对象转换为MyLinkedList<Doubleimport java.util.Iterator;
public class MyLinkedList<T> implements Ite
import java.util.Scanner;{{p=0,q=(Size/2+1),r=(Size-1);//assuming that the array with even length.int L []=new int [4] ;//the left side, sorted arrayint<