public enum StringBuilderUtils extends Enum<StringBuilderUtils>
Modifier and Type | Method and Description |
---|---|
static boolean |
endsWith(CharSequence source,
String endsWith) |
static char[] |
extractChars(StringBuilder sb) |
static boolean |
isEqual(CharSequence s,
CharSequence cs) |
static void |
setCount(StringBuilder sb,
int count) |
static String |
toString(Object o) |
static StringBuilderUtils |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StringBuilderUtils[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static StringBuilderUtils[] values()
for (StringBuilderUtils c : StringBuilderUtils.values()) System.out.println(c);
public static StringBuilderUtils 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)
public static char[] extractChars(StringBuilder sb)
public static void setCount(StringBuilder sb, int count)
Copyright © 2019. All rights reserved.