private int getMinIndex() {
		int minIdx = 0;

		for (int i = 0; i < size(); i++) {
			if (comparator.compare(queue.get(i).getKey(), queue.get(minIdx)
					.getKey()) < 0) {
				minIdx = i;
			}
		}

		return minIdx;
	}