public List<E> toList() 
	{
		ArrayList<E> elements = new ArrayList<E>(capacity);
		for (int i = 0; i < capacity; i++) {
			synchronized (table[i]) {
				Node<E> c = table[i].next;
				while (c != null) {
					elements.add(c.element);
					c = c.next;
				}
			}
		}
		return elements;
	}