org.crosswire.common.diff
Interface Locator

All Known Implementing Classes:
Bitap, Match

public interface Locator

Represents the location of the best match.

Author:
DM Smith
See Also:
for license details.
The copyright to this program is held by it's authors.

Method Summary
 int locate()
          Locate the best match of a pattern in text near a supplied location.
 int maxPatternLength()
          The maximum length a pattern can be.
 

Method Detail

locate

int locate()
Locate the best match of a pattern in text near a supplied location.

Returns:
Best match index or -1, if no match found

maxPatternLength

int maxPatternLength()
The maximum length a pattern can be.

Returns:
maximum pattern length.

Copyright ? 2003-2011