@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + rank.value;
		result = prime * result + ((suit == null) ? 0 : suit.hashCode());
		return result;
	}