Class StringFunctions
java.lang.Object
org.eclipse.collections.impl.block.factory.StringFunctions
-
Method Summary
Modifier and TypeMethodDescriptionstatic IntegerFunctionImpl<String>
length()
subString
(int beginIndex, int endIndex) static CharFunction<String>
static BooleanFunction<String>
static ByteFunction<String>
static CharFunction<String>
static DoubleFunction<String>
static FloatFunction<String>
static IntFunction<String>
static LongFunction<String>
static ShortFunction<String>
trim()
Returns a function that returns a copy of aString
, with leading and trailing whitespace omitted.
-
Method Details
-
toUpperCase
-
toLowerCase
-
toInteger
-
toPrimitiveBoolean
-
toPrimitiveByte
-
toPrimitiveChar
-
toFirstChar
- Throws:
StringIndexOutOfBoundsException
- if the String is empty
-
toPrimitiveDouble
-
toPrimitiveFloat
-
toPrimitiveInt
-
toPrimitiveLong
-
toPrimitiveShort
-
length
-
firstLetter
-
subString
-
trim
Returns a function that returns a copy of aString
, with leading and trailing whitespace omitted.- See Also:
-
append
-
prepend
-