protected boolean analyseHand(RequestHandAnalysis request) { return !request.isFlush().equals(Suit.None); }
public void processRequest(RequestHandAnalysis request) { if (analyseHand(request)) request.setPokerRank(PokerRank.Flush); else if (successor != null) successor.processRequest(request); }