Another Blog says Google Guava Splitter is Faster , Whatsss…?? 10 Times , Seriously ?? We need to how Splitter Guava Work and how to use it. For the First time wee need to read Google Guava Splitter Documentation.
Extracts non-overlapping substrings from an input string, typically by recognizing appearances of a separator sequence. This separator can be specified as a single character, fixed string, regular expression or
CharMatcher
instance. Or, instead of using a separator at all, a splitter can extract adjacent substrings of a given fixed length. Java Google Doc
Ok, Well Splitter is Split a string value. Let see what Spliter can do.
And here are the results of our code snippet above:
Visit My Repository for full code
Reference