public interface StringTransformer<T> extends AbstractObjectTransformer<StringTransformer<T>,StringChecker<T>,T,String>
Modifier and Type | Interface and Description |
---|---|
static class |
StringTransformer.Impl<T> |
Transformer.Base<TX extends Transformer<TX,V,T,R>,V extends Checker<V,T,R>,T,R>
Matcher.JunctionType
Modifier and Type | Method and Description |
---|---|
static StringTransformer<String> |
create(Supplier<String> value) |
default IntegerTransformer<T> |
length() |
default BooleanTransformer<T> |
parseBoolean() |
default DoubleTransformer<T> |
parseDouble() |
default FloatTransformer<T> |
parseFloat() |
default IntegerTransformer<T> |
parseInt() |
default LongTransformer<T> |
parseLong() |
default ShortTransformer<T> |
parseShort() |
default ListTransformer<T,String> |
split(String regex) |
default StringTransformer<T> |
substring(int begin) |
default StringTransformer<T> |
toLowerCase() |
default StringTransformer<T> |
toUpperCase() |
default StringTransformer<T> |
transform(Function<StringTransformer<String>,Predicate<String>> clause) |
asObject, expectException, invoke, invokeStatic, stringify, toBoolean, toDouble, toFloat, toInteger, toList, toLong, toObject, toShort, toStream, toString, toThrowable
addTransformAndCheckClause, checkWithPredicate, done, satisfies, then, toBe, transformValueWith
allOf, anyOf, toPredicate, transformFunction
booleanValue, createPredicateForAllOf, doubleValue, floatValue, integerValue, listValue, longValue, objectValue, shortValue, statementPredicate, statementValue, streamValue, stringValue, throwableValue
static StringTransformer<String> create(Supplier<String> value)
default StringTransformer<T> substring(int begin)
default StringTransformer<T> toUpperCase()
default StringTransformer<T> toLowerCase()
default ListTransformer<T,String> split(String regex)
default IntegerTransformer<T> length()
default BooleanTransformer<T> parseBoolean()
default IntegerTransformer<T> parseInt()
default LongTransformer<T> parseLong()
default ShortTransformer<T> parseShort()
default DoubleTransformer<T> parseDouble()
default FloatTransformer<T> parseFloat()
default StringTransformer<T> transform(Function<StringTransformer<String>,Predicate<String>> clause)
Copyright © 2024. All rights reserved.