Instantly share code, notes, and snippets.

Embed
What would you like to do?
Result of Learn_RandomUtilsAndRandomStringUtils.java www.putracode.com
"C:\Program Files\Java\jdk1.8.0_51\bin\java" -Didea.launcher.port=7533 "-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\PC-COMMONS-LANG3\target\classes;C:\Users\KrisnaPutra\.m2\repository\org\apache\commons\commons-lang3\3.4\commons-lang3-3.4.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1.4\lib\idea_rt.jar" com.intellij.rt.execution.application.AppMain com.putracode.common.Learn_RandomUtilsAndRandomStringUtils
*********************************************
Learn Using RandomUtils and RandomStringUtils
*********************************************
>>>>RandomUtils
Sample : 923073160544814080
Sample : 2308107054677164032
Sample : 1189619865933990912
Sample : 7242847669371125760
Sample : 3954786417967505408
Sample : 7752854706985720832
Sample : 3113916316579617792
Sample : 2699055089865287680
Sample : 6400978301790766080
Sample : 3056401786911098880
Test RandomUtils 1.000.000 put in Map
Data Expectation : 1000000
Total Data in Map : 1000000
Data Expectation equals Total Data In Map is -->true
<<<<<
>>>>RandomStringUtils
Random String Ascii : =W' %a!.8X
Random String Numberic : 1394549448
Random String Alphabetic : HMyyyWTcuw
Random String Alpha Numeric : 5yGbbaMSot
Test RandomStringUtils Alphanumeric 1.000.000 put in Map
Sample : QrcgdjphbaGQHpwHasnB
Sample : AKEkZPmWrhZaEKqZBeuo
Sample : HbtHIFtrwXYMMzPTmjNV
Sample : yOtCwKfCoBrGvGkDQafl
Sample : FyuUQkNfWHIMdKyKAtOC
Sample : YULXqdvdJsZGwifutyAO
Sample : ROeBvzOxDCTAsjRIZCQu
Sample : RpiGLizsANRqlEAWHUcR
Sample : PnQqPLjemTNAQiyQUNpA
Sample : BkJGMkkDsyqutgzLrGAB
Test RandomUtils 1.000.000 put in Map
Data Expectation : 1000000
Total Data in Map : 1000000
Data Expectation equals Total Data In Map is -->true
<<<<<
Process finished with exit code 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment