Class Strings
java.lang.Object
fj.function.Strings
Curried string functions.
-
Field Summary
FieldsModifier and TypeFieldDescriptionA curried version ofString.contains(CharSequence).A curried version ofString.isEmpty().This function checks if a given String contains any non-whitespace character (according toCharacter.isWhitespace(char)) and if it's also notnulland not empty ("").This function checks if a given String is neithernullnor empty.This function checks if a given String is whitespace (according toCharacter.isWhitespace(char)), empty ("") ornull.This function checks if a given String isnullor empty (String.isEmpty()).A curried version ofString.length().static final Stringprivate static final PatternA curried version ofString.matches(String). -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
lineSeparatorPattern
-
lineSeparator
-
isNotNullOrEmpty
-
isNullOrEmpty
This function checks if a given String isnullor empty (String.isEmpty()).- See Also:
-
isNotNullOrBlank
This function checks if a given String contains any non-whitespace character (according toCharacter.isWhitespace(char)) and if it's also notnulland not empty ("").- See Also:
-
isNullOrBlank
This function checks if a given String is whitespace (according toCharacter.isWhitespace(char)), empty ("") ornull.- See Also:
-
isEmpty
A curried version ofString.isEmpty(). -
length
A curried version ofString.length(). -
contains
-
matches
-
-
Constructor Details
-
Strings
private Strings()
-
-
Method Details
-
lines
-
lines
-
unlines
-
unlines
-