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