src/PokerHand.java
public int hasBoat() {
		if (hasTwoPair() * hasTriplet() != 0)
			return hasTriplet();
		return 0;
	}
// HasBoat method returns the rank of the triplet
HasBoat method returns the rank of the triplet
HasBoat method returns the rank of the triplet
public int hasBoat() {
		if (hasTwoPair() * hasTriplet() != 0)
			return hasTriplet();
		return 0;
	}
public int hasBoat ( ) { if ( hasTwoPair ( ) * hasTriplet ( ) != 0 ) return hasTriplet ( ) ; return 0 ; }
HasBoat method returns the rank of the triplet
HasBoat method returns the rank of the triplet