Skip to content

Add isNullOrEmpty, isNullOrBlank and isNotNullOrBlank to Strings. #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 2, 2014

Conversation

magro
Copy link
Contributor

@magro magro commented Aug 30, 2011

The implementation for blank/not blank uses Stream.fromString(a).find, even if it's significantly more expensive (linearly depending on the number of whitespace chars at the start of the string) than the imperative solution (with a for loop) - as mentioned on the mailing list.

mperry added a commit that referenced this pull request Jun 2, 2014
Add isNullOrEmpty, isNullOrBlank and isNotNullOrBlank to Strings.
@mperry mperry merged commit 899f779 into functionaljava:master Jun 2, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants