All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.lotspiech.poker.strategy.FlushPattern

java.lang.Object
   |
   +----com.lotspiech.poker.strategy.Pattern
           |
           +----com.lotspiech.poker.strategy.FlushPattern

public class FlushPattern
extends Pattern
This type was created in VisualAge.

Copyright 2001, 2002 by Jeffrey B. Lotspiech. This program is open source; it is licensed under the Common Public License Version 0.5.

Author:
Jeffrey B. Lotspiech

Variable Index

 o child
 o COPYRIGHT
 o n

Constructor Index

 o FlushPattern(Rules)
FlushPattern constructor comment.

Method Index

 o compile(String)
compile method comment.
 o matches(int)
matches method comment.
 o matches(int, int)
This method was created in VisualAge.

Variables

 o COPYRIGHT
 private static final String COPYRIGHT
 o n
 private int n
 o child
 private Pattern child

Constructors

 o FlushPattern
 public FlushPattern(Rules rules)
FlushPattern constructor comment.

Parameters:
rules - com.lotspiech.poker.strategy.Rules

Methods

 o compile
 public void compile(String rule) throws PatternSyntaxException
compile method comment.

Overrides:
compile in class Pattern
 o matches
 public boolean matches(int mask)
matches method comment.

Overrides:
matches in class Pattern
 o matches
 private boolean matches(int mask,
                         int suit)
This method was created in VisualAge.

Parameters:
mask - int
suit - int
Returns:
boolean

All Packages  Class Hierarchy  This Package  Previous  Next  Index