public class StringAnalysis extends Object
Constructor and Description |
---|
StringAnalysis() |
Modifier and Type | Method and Description |
---|---|
protected static Vector<String> |
findPrefixes(Vector<String> vec)
Helper to recursively extract common prefixes.
|
static Vector<String> |
getLongestCommonPrefixes(Vector<String> vec)
Extracts the set of all prefixes shared by at least two strings
in the given set.
|
Copyright © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.