Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Result Guava Splitter www.putracode.com
"C:\Program Files\Java\jdk1.8.0_51\bin\java" -Didea.launcher.port=7532 "-Didea.launcher.bin.path=C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1.4\bin" -Dfile.encoding=windows-1252 -classpath "C:\Program Files\Java\jdk1.8.0_51\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\jfxswt.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\rt.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\ext\jfxrt.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\ext\nashorn.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\ext\sunec.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\ext\sunpkcs11.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\ext\zipfs.jar;E:\_GITHUB\PT-GUAVA-GOOGLE\target\classes;E:\_SERVER\_REPO_LOKAL\.m2\com\google\guava\guava\19.0\guava-19.0.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1.4\lib\idea_rt.jar" com.intellij.rt.execution.application.AppMain com.putracode.guava.base.GuavaSplitter
*********************************************
Google Guava : Splitter
*********************************************
>>>>0.1 Basic Splitter Guava
Original Data Krisna,Dirra,Nagita
Splitter with char ',' : [Krisna, Dirra, Nagita]
<<<<<
>>>>02. Trim Result
Original FirsName Data : Krisna ,Dirra , Nagita
Split data into List and Trim Whitespace : [Krisna, Dirra, Nagita]
<<<<<
>>>>03. Random Pattern
Original Random Data : Krisna|Putra#Dirra.Safitri,Nagita SEPARATOR Wishly
Split data into List : [Krisna, Putra, Dirra, Safitri, Nagita, Wishly]
<<<<<
>>>>04. Splitter with ChatMatcher
Original Data with Number: Krisna1Putra2Dirra3Safitri4Nagita5Wishly
Split data into List : [Krisna, Putra, Dirra, Safitri, Nagita, Wishly]
<<<<<
>>>>05. Splitter To Map
Original Data : Krisna=Putra,Dirra=Safitri,Nagita=Wishly
Map result Of Spliter : {Krisna=Putra, Dirra=Safitri, Nagita=Wishly}
<<<<<
Process finished with exit code 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.