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