org.egothor.text
Class Strings

java.lang.Object
  extended by org.egothor.text.Strings

public class Strings
extends java.lang.Object

This class is part of the Egothor Project

Author:
Leo Galambos

Constructor Summary
Strings()
           
 
Method Summary
static int commonPrefix(java.lang.String str1, java.lang.String str2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Strings

public Strings()
Method Detail

commonPrefix

public static int commonPrefix(java.lang.String str1,
                               java.lang.String str2)
Parameters:
str1 - Description of the Parameter
str2 - Description of the Parameter
Returns:
offset of the first different character