public enum StringUtils extends Enum<StringUtils>
Modifier and Type | Method and Description |
---|---|
static boolean |
endsWith(CharSequence source,
String endsWith) |
static boolean |
isEqual(CharSequence s,
CharSequence cs) |
static String |
toString(Object o) |
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 boolean endsWith(@NotNull CharSequence source, @NotNull String endsWith)
public static boolean isEqual(CharSequence s, CharSequence cs)
Copyright © 2015. All rights reserved.