Boyer Icon

Boyer

Fast string search (indexOf) using the Boyer-Moore algorithm.

BoyerOverview

Fast String search (indexOf) using the Boyer-Moore
Algorithm. Incorporate this class into your own Java
programs to rapidly search strings.
use:
import com.mindprod.Boyer.Boyer;
Boyer b = new Boyer("dogcatwombat");
int where = b.indexOf("cat");
or
int where = Boyer.indexOf("dogcatwombat","cat");
Boyer-Moore is about twice as fast as String.indexOf when
the string you are searching in is 2K or over and the
pattern you are searching for is 4 characters or longer.
String.indexOf is particularly slow when the pattern begins
with a common letter such as "e". Boyer-Moore is fastest
when the pattern is long and composed only of uncommon
letters, e.g. "z" or "^". If you use a Char[] instead of
String for your text to be searched, it will run an
additional 33% FASTER.
Boyer automatically reverts to String.indexOf when that
would be faster.

NEW

Fixed some bugs.

BoyerInformation

Version
1.5 Build 9365
Date
05.13.10
License
Free
Language
English
File Size
527KB
Category
Operating Systems
Windows 7, Vista, XP, 2000
System Requirements
No additional system requirements.
Replicator Icon
The Replicator lets you distribute large numbers of files to many people.
Free
CanadianTax Icon
Calculates Canadian sales taxes: GST HST and PST today or in the past.
Free
CurrCon Icon
CurrCon displays prices in HTML in users' home currency.
Free
FourTidy Icon
Tidies Take Command/TCC/4NT/4DOS DESCRIBE file descriptors
Free
Untouch Icon
Reverts files dates back if the files have not really changed.
Free
BlOut Icon
Blout removes extra blank lines from a file.
Free
Dedup Icon
Java command line utility to removes duplicate lines from text files.
Free
Pluck Icon
Scans multiple files looking for a REGEX pattern, and summarised what it finds.
Free
More
exe4j Icon
Exe4j is a Java exe maker.
Demo
In Class Translator Icon
A program to edit class files in jar (JAVA) softwares and game!
Free
Visual Paradigm for UML (CE) for Windows Icon
UML Tool - UML diagrams, use case modeling, reverse engineering and more...
Free
Java SE Development Kit Icon
Build highly sophisticated applications, applets, and components using the Java programming language.
Free
Executable Jar Maker Icon
Turn java source files to executable jar files.
Free
Java SE Development Kit (64-Bit) Icon
Compile, debug, and run Java applications on your computer.
Free
JDecompiler (Java Decompiler) Icon
A small tool to decompile the java class use your favorite text editor.
Trial
Executor Icon
Executor turns your jar file into a Windows executable.
Trial
More