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