public String toString() {
		StringBuffer sb = new StringBuffer();

		sb.append("front: " + front + " back: " + back + "\n");

		sb.append("front [ ");
		for (int i = front; i < dataArray.length && dataArray[i] != null; i++) {
			sb.append(dataArray[i] + " ");
		}

		if (front > back) {
			for (int j = 0; j <= back; j++) {
				sb.append(dataArray[j] + " ");
			}
		}

		sb.append("] back");

		return sb.toString();
	}