public static enum S.F extends Enum<S.F>
| Modifier and Type | Field and Description |
|---|---|
static Osgl.F1<String,String> |
CAP_FIRST |
static Osgl.F2<String,String,Boolean> |
CONTAINS |
static Osgl.F2<String,String,Boolean> |
ENDS_WITH |
static Osgl.F2<String,Integer,String> |
FIRST |
static Osgl.Predicate<String> |
IS_BLANK |
static Osgl.Predicate<String> |
IS_EMPTY |
static Osgl.F2<String,Integer,String> |
LAST |
static Osgl.F1<String,Integer> |
LENGTH |
static Osgl.F2<String,Integer,String> |
MAX_LENGTH |
static Osgl.Predicate<String> |
NOT_EMPTY |
static Osgl.Transformer<String,String> |
NULL_SAFE |
static Osgl.F0<String> |
RANDOM |
static Osgl.F1<Integer,String> |
RANDOM_N |
static Osgl.F1<String,List<String>> |
SPLIT
A split function that use the
S.COMMON_SEP to split Strings |
static Osgl.F2<String,String,Boolean> |
STARTS_WITH |
static Osgl.F1<String,String> |
TO_LOWERCASE |
static Osgl.F1<String,String> |
TO_UPPERCASE |
static Osgl.F1<String,String> |
TRIM |
| Modifier and Type | Method and Description |
|---|---|
static Osgl.F1<String,String> |
append(String appendix) |
static Osgl.Predicate<String> |
contains(String search) |
static Osgl.Predicate<String> |
endsWith(String suffix) |
static Osgl.F1<String,String> |
first(int n) |
static Osgl.F1<String,String> |
last(int n) |
static Osgl.F1<String,String> |
maxLength(int n) |
static Osgl.F1<String,String> |
prepend(String prependix) |
static Osgl.F0<String> |
random() |
static Osgl.F0<String> |
random(int n) |
static Osgl.F1<String,List<String>> |
split(String sep) |
static Osgl.Predicate<String> |
startsWith(String prefix) |
static S.F |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static S.F[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static Osgl.Transformer<String,String> NULL_SAFE
public static Osgl.Predicate<String> IS_EMPTY
public static Osgl.Predicate<String> IS_BLANK
public static Osgl.Predicate<String> NOT_EMPTY
public static Osgl.F1<String,List<String>> SPLIT
S.COMMON_SEP to split Stringspublic static S.F[] values()
for (S.F c : S.F.values()) System.out.println(c);
public static S.F 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 Osgl.Predicate<String> startsWith(String prefix)
public static Osgl.Predicate<String> endsWith(String suffix)
public static Osgl.Predicate<String> contains(String search)
Copyright © 2017. All Rights Reserved.