Interface BuildableStringFunction<T>
- All Superinterfaces:
BuildableComparableFunction<T,
,String> BuildableFunction<T,
,String> ComparableFunction<T,
,String> Function<T,
String>
A function of one argument that generates a
String
result, and
supports building derived functional types.-
Method Summary
Modifier and TypeMethodDescriptiondefault BuildableToIntFunction<T>
length()
Returns a function that maps the length of the extracted strings.default BuildablePredicate<T>
startsWith
(String prefix) Returns a predicate that tests the strings generated bythis
to see if they start with the supplied constant string.Methods inherited from interface com.terracottatech.store.function.BuildableComparableFunction
asComparator, is, isGreaterThan, isGreaterThanOrEqualTo, isLessThan, isLessThanOrEqualTo
Methods inherited from interface com.terracottatech.store.function.BuildableFunction
in, in
-
Method Details
-
length
Returns a function that maps the length of the extracted strings.- Returns:
- a string length function
-
startsWith
Returns a predicate that tests the strings generated bythis
to see if they start with the supplied constant string.- Parameters:
prefix
- constant prefix string- Returns:
- a prefix predicate
-