public enum StringUtils extends Enum<StringUtils>
Modifier and Type | Method and Description |
---|---|
static boolean |
endsWith(CharSequence source,
String endsWith) |
static boolean |
equalsCaseIgnore(CharSequence s,
CharSequence cs) |
static char[] |
extractChars(String s) |
static char[] |
extractChars(StringBuilder sb) |
static String |
firstLowerCase(String str) |
static boolean |
isEqual(CharSequence s,
CharSequence cs) |
static boolean |
isEqual(StringBuilder s,
CharSequence cs) |
static String |
newString(char[] chars) |
static double |
parseDouble(CharSequence in) |
static void |
set(StringBuilder sb,
CharSequence cs) |
static void |
setCount(StringBuilder sb,
int count) |
static void |
setLength(StringBuilder sb,
int length) |
static String |
toString(Object o) |
static String |
toTitleCase(String name) |
static StringUtils |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StringUtils[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static StringUtils[] values()
for (StringUtils c : StringUtils.values()) System.out.println(c);
public static StringUtils valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static void setLength(StringBuilder sb, int length)
public static void set(StringBuilder sb, CharSequence cs)
public static boolean endsWith(@NotNull CharSequence source, @NotNull String endsWith)
public static boolean isEqual(CharSequence s, CharSequence cs)
public static boolean isEqual(StringBuilder s, CharSequence cs)
public static boolean equalsCaseIgnore(CharSequence s, CharSequence cs)
public static char[] extractChars(StringBuilder sb)
public static char[] extractChars(String s)
public static void setCount(StringBuilder sb, int count)
public static String newString(char[] chars)
public static double parseDouble(@NotNull CharSequence in)
Copyright © 2016. All rights reserved.