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 [dmsmith555 at yahoo dot com]
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-2007