public Object[] toArray() {int index = 0;Object[] contents = new Object[size];Link<E> link = voidLink.next;while (link != voidLink) {contents[index++] = link.data;link = link.next;}return contents;}
public override object[] toArray(){int index = 0;object[] contents = new object[_size];java.util.LinkedList.Link<E> link = voidLink.next;while (link != voidLink){contents[index++] = link.data;link = link.next;}return contents;}