|
|
|
Categories :
Web Development > Java & JavaScript
|
|
Boyer 1.5
|
|
Fast string search (indexOf) using the Boyer-Moore algorithm. Incorporate this class into your own Java programs to rapidly search strings. Boyerr-Moore is about twice as fast as String.indexOf when the string you are searching in is 2K.
|
| |
Description From Publisher
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.
Supported OS
Win98,WinME,WinNT 3.x,WinNT 4.x,Windows2000,WinXP,Windows2003,Windows Vista Star
Related Keywords
Boyer-Moore Boyer-Moore string search string search search search indexOf indexOf Java Java fast string search fast string search string handling string handling
|
|
Latest Java & JavaScript Realted Tools:
JustAjax Table 0.7
JustAjax Table is an Ajax/PHP grid library that allows you to create web-based data grids/tables that behave like desktop software. |
Web Designers Toolkit with Menu Ex 2.2
Professional Web Toolkit for Webmasters. Integrate winning-award and professional script authoring tools into one program. |
EMX Javascript Professional 3.2
Resource with free JavaScript examples for cut and paste into web pages. It contains 100000 lines of Javascript source code for web page designers to improve the design, validate forms, detect browsers, create cookies and much more. |
MoneyToys APR Calculator 2.0
The MoneyToys APR Calculator is designed to give you an easy-to-install web site calculator that allows your web site visitors to calculator annual percentage rates (APR) without leaving your web site. |
DHTML Menu Extension for GoLive 1.0
If you are looking for a quick way to add DHTML menu navigation to your GoLive website, this extension can help. The software comes with nearly 500 ready-made menu templates, intuitive user interface and is compatible with all popular browsers. |
DHTML Menu Extension for Dreamweaver 1.0
If you are looking for a quick way to add DHTML menu navigation to your Dreamweaver website, this extension can help. The software comes with nearly 500 ready-made menu templates, intuitive user interface and is compatible with all popular browsers. |
AScratchNWin Scratch and Win 2.0
AScratchNWin! is an exciting new product that allows you to easily and effectively add scratch and win capabilities to your website! You can also use
it like a mini-casino! Try out the evaluation version, which lets you specify a % chance of winning, |
1-2-3 JavaScript Library 2.5
1-2-3 JavaScript Library is a cool new software application that allows you to create amazing javascript in seconds! Choose scripts from an organized,
amazingly easy to navigate menu system, and customize them to your own needs! No more long download |
JavaScript Horizontal Image Slider Ex 1.3
JavaScript-producing design tool for creating scrolling images on Web pages. The script can be customized highly and easily. With this easy-to-use script authoring tool, you can make a professional script just in minutes! |
AJAX Webshop 3.0
Webshop is very similar to the development pattern of Delphi, VB and is of great help to developers switching from C/S to B/S, from traditional Web to Ajax. |
Xload 1.2_14
Java/JSP FILE UPLOAD/MANAGEMENT API Component for use inside an Application Server or Standalone environment. Extensive features provide a comprehensive suite of tools to upload and manage files/folders on your Server/Application. |
Sothink Menu Builder suite 6.0
Build drop-down or tree-like menus in easiest way! The generated JavaScript menus can be compatible with most browsers. It integrates with Dreamweaver and FrontPage seamlessly. The menu's content can be found by Search Engine without difficulty. |
Sothink DHTML Menu Builder Free Version 3.7
Sothink Free DHTML Menu Builder creates DHTML menu without writing any code. The application has built-in templates, live preview and Publish Wizard, which make building free DHTML menu easier. Seamlessly integrate with Dreamweaver and FrontPage. |
|
|