@Override
	public boolean equals (Object candidate){
//		boolean sameClass = ( bet.getClass() ==  this.getClass() );
//		boolean samebetCode = ( this.getBetCode() == bet.getBetCode() );
		//return sameClass && samebetCode;
	    if (candidate instanceof Bet)
	    {
	        return ((Bet) candidate).hashCode() == this.hashCode();
	    }
	    return false;
	}