@Override
    public int compare(FiveCardPokerHand o1, FiveCardPokerHand o2) {
        if (handType == null) {
            handType = new PokerHandTypeComparator().determineHandType(o1);         
        }
        return compareHandsOfSameType(o1, o2, handType);
    }