Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## cc.mallet.util
Class Strings

    java.lang.Object
      cc.mallet.util.Strings

    public final class Strings

extends java.lang.Object

Static utility methods for Strings

Constructor Summary
`Strings()`

Method Summary
`static java.lang.String` | `commonPrefix(java.lang.String[] strings)`
`static int` | `commonPrefixIndex(java.lang.String[] strings)`
`static int` | `count(java.lang.String string, char ch)`
`static double` | `levenshteinDistance(java.lang.String s, java.lang.String t)`

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

### commonPrefixIndex

    public static int commonPrefixIndex(java.lang.String[] strings)

### commonPrefix

    public static java.lang.String commonPrefix(java.lang.String[] strings)

### count

    public static int count(java.lang.String string,
                            char ch)

### levenshteinDistance

    public static double levenshteinDistance(java.lang.String s,
                                             java.lang.String t)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD