Documentation of 'org.apache.lucene.util.StringHelper' Java class
StringHelper
org.apache.lucene.util

Class StringHelper



  • public abstract class StringHelper
    extends java.lang.Object
    Methods for manipulating strings. $Id: StringHelper.java 472959 2006-11-09 16:21:50Z yonik $
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      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

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • stringDifference

        public static final 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.
        Parameters:
        s1 - The first string to compare
        s2 - The second string to compare
        Returns:
        The first position where the two strings differ.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.