Java (OpenJDK), 82 bytes
-2 bytes thanks to @corvus_192!
s->s[0].split(" ").length==5&&s[2]length==5&s[2].split(" ").length==5&&s[1]length==5&s[1].split(" ").length==7
It looks so golfable but without a builtin map function, I can't find a good way. Iterating through the array is a few bytes longer, as is writing a map function using streams.
Lambda expression takes an array of Strings and returns a Boolean.
Java (OpenJDK), 82 bytes
s->s[0].split(" ").length==5&&s[2].split(" ").length==5&&s[1].split(" ").length==7
It looks so golfable but without a builtin map function, I can't find a good way. Iterating through the array is a few bytes longer, as is writing a map function using streams.
Lambda expression takes an array of Strings and returns a Boolean.
Java (OpenJDK), 82 bytes
-2 bytes thanks to @corvus_192!
s->s[0].split(" ").length==5&s[2].split(" ").length==5&s[1].split(" ").length==7
It looks so golfable but without a builtin map function, I can't find a good way. Iterating through the array is a few bytes longer, as is writing a map function using streams.
Lambda expression takes an array of Strings and returns a Boolean.
Java (OpenJDK), 82 bytes
s->s[0].split(" ").length==5&&s[2].split(" ").length==5&&s[1].split(" ").length==7
It looks so golfable but without a builtin map function, I can't find a good way. Iterating through the array is a few bytes longer, as is writing a map function using streams.
Lambda expression takes an array of Strings and returns a Boolean.
Java (OpenJDK), 82 bytes
s->s[0].split(" ").length==5&&s[2].split(" ").length==5&&s[1].split(" ").length==7
It looks so golfable but without a builtin map function, I can't find a good way. Iterating through the array is a few bytes longer, as is writing a map function using streams.
Lambda expression takes an array of Strings and returns a Boolean.
Java (OpenJDK), 82 bytes
s->s[0].split(" ").length==5&&s[2].split(" ").length==5&&s[1].split(" ").length==7
It looks so golfable but without a builtin map function, I can't find a good way. Iterating through the array is a few bytes longer, as is writing a map function using streams.
Lambda expression takes an array of Strings and returns a Boolean.
Java (OpenJDK), 82 bytes
s->s[0].split(" ").length==5&&s[2].split(" ").length==5&&s[1].split(" ").length==7
It looks so golfable but without a builtin map function, I can't find a good way. Iterating through the array is a few bytes longer, as is writing a map function using streams.
Lambda expression takes an array of Strings and returns a Boolean.