public class StringUtils extends Object
| Constructor and Description |
|---|
StringUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
mkString(Iterable<?> it,
String prefix,
String separator,
String suffix)
Composes a String from the prefix, elements of an Iterable
separated by the separator, and the suffix.
|
static String |
pow(String str,
int n)
Power-function in the free Monoid over Characters (AKA "Strings")
|
static ArrayList<Character> |
toList(String string)
Converts a string to a new, mutable list of Characters
|
public static ArrayList<Character> toList(String string)
string - public static String mkString(Iterable<?> it, String prefix, String separator, String suffix)
it - prefix - separator - suffix - Copyright © 2015. All rights reserved.