All Packages Class Hierarchy This Package Previous Next Index
Class com.lotspiech.poker.strategy.NotPattern
java.lang.Object
|
+----com.lotspiech.poker.strategy.Pattern
|
+----com.lotspiech.poker.strategy.NotPattern
- public class NotPattern
- 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
-
child
-
-
COPYRIGHT
-
-
NotPattern(Rules)
- NotPattern constructor comment.
-
compile(String)
- compile method comment.
-
matches(int)
- The NotPattern match is the opposite of every other
match--i.e., it matches if and only if its child
pattern does not match.
COPYRIGHT
private static final String COPYRIGHT
child
Pattern child
NotPattern
public NotPattern(Rules rules)
- NotPattern constructor comment.
- Parameters:
- rules - com.lotspiech.poker.strategy.Rules
compile
public void compile(String rule) throws PatternSyntaxException
- compile method comment.
- Overrides:
- compile in class Pattern
matches
public boolean matches(int mask)
- The NotPattern match is the opposite of every other
match--i.e., it matches if and only if its child
pattern does not match.
- Overrides:
- matches in class Pattern
All Packages Class Hierarchy This Package Previous Next Index