public static enum StrTrimer.TrimMode extends Enum<StrTrimer.TrimMode>
| Enum Constant and Description | 
|---|
BOTH
字符串两边 
 | 
PREFIX
字符串头部 
 | 
SUFFIX
字符串尾部 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static StrTrimer.TrimMode | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static StrTrimer.TrimMode[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final StrTrimer.TrimMode PREFIX
public static final StrTrimer.TrimMode SUFFIX
public static final StrTrimer.TrimMode BOTH
public static StrTrimer.TrimMode[] values()
for (StrTrimer.TrimMode c : StrTrimer.TrimMode.values()) System.out.println(c);
public static StrTrimer.TrimMode 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 nullCopyright © 2025. All rights reserved.