T - a generic typepublic class MyDLinkedList<T> extends NodeAndIterators<T>
NodeAndIterators.MyListIterator| Constructor and Description | 
|---|
MyDLinkedList()
This is the constructor, MyDNodeAndTwoIterators will do the job. 
 | 
MyDLinkedList(MyDLinkedList<T> a)
Copy constructor 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
add(int at,
   T item)
Put add(int at, T item) here 
 | 
void | 
add(T item)
Put add(T item) here 
 | 
int | 
indexOf(java.lang.Object data)
Put indexOf here 
 | 
T | 
remove(int at)
Put remove(int a) here 
 | 
java.lang.Object[] | 
toArray()
Put toArray() here 
 | 
get, iterator, listIterator, set, size, toArray, toStringpublic MyDLinkedList()
public MyDLinkedList(MyDLinkedList<T> a)
a - is a MyDLinkedList to be copied.public int indexOf(java.lang.Object data)
data - is an Object.MyList.indexOf(java.lang.Object)public void add(T item)
item - is a T.MyList.add(java.lang.Object)public void add(int at,
                T item)
at - is an int.item - is a T.MyList.add(int, java.lang.Object)public T remove(int at)
at - is an int.MyList.remove(int)public java.lang.Object[] toArray()
MyList.toArray()