public class StringUtils extends Object
| Constructor and Description |
|---|
StringUtils() |
| Modifier and Type | Method and Description |
|---|---|
static int |
editDistance(String word1,
String word2) |
static com.google.common.base.Optional<String> |
getBestMatch(String wordToMatch,
Collection<String> candidates) |
static String |
randomBase64UUID()
Returns a Base64 encoded version of a Version 4.0 compatible UUID
as defined here: http://www.ietf.org/rfc/rfc4122.txt
|
static String |
randomBase64UUID(Random random)
Returns a Base64 encoded version of a Version 4.0 compatible UUID
randomly initialized by the given
Random instance
as defined here: http://www.ietf.org/rfc/rfc4122.txt |
public static String randomBase64UUID()
public static String randomBase64UUID(Random random)
Random instance
as defined here: http://www.ietf.org/rfc/rfc4122.txtpublic static com.google.common.base.Optional<String> getBestMatch(String wordToMatch, Collection<String> candidates)
Copyright © 2019. All rights reserved.