Timeline for IsNullOrWhiteSpace check for Java
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 14, 2014 at 14:35 | comment | added | dusky |
@Nihathrael From IntStream: true if either all elements of the stream match the provided predicate or the stream is empty, otherwise false . Exactly like C#'s Enumerable.All.
|
|
Nov 14, 2014 at 13:42 | comment | added | Nihathrael | I think for an empty string yours will return false, I might be missing something? | |
Nov 14, 2014 at 13:25 | comment | added | dusky | @Nihathrael hm, how does it behave differently? | |
Nov 14, 2014 at 13:04 | comment | added | Nihathrael | Cheers for the nice Java 8 solution. Doesn't actually fit the requirements of emulating the .NET behaviour, but, as an implementation that one would expect from the method's name, it is very good. | |
Nov 14, 2014 at 12:57 | history | answered | dusky | CC BY-SA 3.0 |