org.crsh.util
Class Strings
java.lang.Object
org.crsh.util.Strings
public class Strings
- extends Object
- Version:
- $Revision$
- Author:
- Julien Viet
Field Summary |
private static Pattern |
p
. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
p
private static final Pattern p
- .
Strings
public Strings()
chunks
public static List<String> chunks(CharSequence s)
findLongestCommonPrefix
public static String findLongestCommonPrefix(CharSequence... seqs)
- See Also:
findLongestCommonPrefix(Iterable)
findLongestCommonPrefix
public static String findLongestCommonPrefix(Iterable<? extends CharSequence> seqs)
- Find the longest possible common prefix of the provided char sequence.
- Parameters:
seqs
- the sequences
- Returns:
- the longest possible prefix
Copyright © 2012 eXo Platform SAS. All Rights Reserved.