An interface to java.util.Random which simulates a deck
of "cards." Actually, it just supplies random numbers from
0 to ncards()-1 without ever repeating a number.
Deck(int) -
Constructor for class com.stevesoft.pat.apps.Deck
The RegexTokenizer is similar to the StringTokenizer class
provided with java, but allows one to tokenize using
regular expressions, rather than a simple list of characters.
Duplicates the regionMatches routine of String -- but
makes use of the definitions of upper, lower, and title
case in this class when ignoreCase is set.
Duplicates the regionMatches routine of String -- but
makes use of the definitions of upper, lower, and title
case in this class when ignoreCase is set.
Duplicates the regionMatches routine of String -- but
makes use of the definitions of upper, lower, and title
case in this class when ignoreCase is set.
Duplicates the regionMatches routine of String -- but
makes use of the definitions of upper, lower, and title
case in this class when ignoreCase is set.
Call this method if you have a pattern element that
takes a sub pattern (such as Or), and
after you have added a sub pattern to the current
pattern element.
Initialize, give it a String to search for, tell it
whether or not to ignoreCase, and what the offset is
of the String within the String to be searched.
Like Skip, but implements a
Boyer-Moore-Horspool type search
method that has been modified to be more like a "T-search" (see
the Michael Tamm''s article in C'T, magazin fuer computer und technic, August 97
p 292).