You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Java 11 introduces new methods in String: isBlank and strip. Those methods complement good-old isEmpty and trim respectively but sometimes are way better suitable for processing locale-specific strings.
It should be fairly easy to capture this functionality in "refined" types like NonBlankString and StrippedString (that would complement NonEmptyString and TrimmedString respectively).
The text was updated successfully, but these errors were encountered:
Java 11 introduces new methods in
String
:isBlank
andstrip
. Those methods complement good-oldisEmpty
andtrim
respectively but sometimes are way better suitable for processing locale-specific strings.It should be fairly easy to capture this functionality in "refined" types like
NonBlankString
andStrippedString
(that would complementNonEmptyString
andTrimmedString
respectively).The text was updated successfully, but these errors were encountered: