|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.util.StringHelper
public abstract class StringHelper
Methods for manipulating strings. $Id: StringHelper.java,v 1.2 2004/03/25 13:39:59 otis Exp $
Method Summary | |
---|---|
static int |
stringDifference(java.lang.String s1,
java.lang.String s2)
Compares two strings, character by character, and returns the first position where the two strings differ from one another. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static final int stringDifference(java.lang.String s1, java.lang.String s2)
s1
- The first string to compares2
- The second string to compare
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |