@Override
	public int compareTo(Hand that) {
		int hr = this.handRank.value - that.handRank.value;
		if (hr == 0) {
			for (int index = 0; index < this.ranks.size(); index++) {
				int rankCompare = this.ranks.get(index).value - that.ranks.get(index).value;
				if (rankCompare == 0) {
					continue;
				} else {
					return rankCompare; 
				}
			}
			return 0; 
		} else {
			return hr;
		}
	}