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

Variable Index

 o child
 o COPYRIGHT

Constructor Index

 o NotPattern(Rules)
NotPattern constructor comment.

Method Index

 o compile(String)
compile method comment.
 o 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.

Variables

 o COPYRIGHT
 private static final String COPYRIGHT
 o child
 Pattern child

Constructors

 o NotPattern
 public NotPattern(Rules rules)
NotPattern 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)
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