fork(1) download
  1. /* package whatever; // don't place package name! */
  2.  
  3. import java.util.*;
  4. import java.lang.*;
  5. import com.google.common.base.Charsets;
  6.  
  7. class Main {
  8. public static void main(String[] args) throws java.lang.Exception {
  9. String[] values = {"FR*S91*EV*AFTJ1", "FR*S91*EV*AFTJ2", "FR*S91*EV*BAPW1", "FR*S91*EV*BAPW2", "FR*S91*EV*BGNL1", "FR*S91*EV*BGNL2", "FR*S91*EV*BLYP1", "FR*S91*EV*BLYP2", "FR*S91*EV*CFRB1", "FR*S91*EV*CFRB2", "FR*S91*EV*DDDW1", "FR*S91*EV*DDDW2", "FR*S91*EV*DJTO1", "FR*S91*EV*DJTO2", "FR*S91*EV*DMZA1", "FR*S91*EV*DMZA2"};
  10.  
  11. for (String value : values) {
  12. byte[] bytes = value.getBytes(Charsets.UTF_8);
  13. System.out.println(value + "," + java.util.UUID.nameUUIDFromBytes(bytes));
  14. Thread.sleep(500);
  15. }
  16. }
  17. }
Success #stdin #stdout 0.24s 60616KB
stdin
Standard input is empty
stdout
FR*S91*EV*AFTJ1,5fb6b653-787d-3e59-9aa9-e81253e56bc2
FR*S91*EV*AFTJ2,a4328ed6-f6bc-3700-a4cd-2b47b7c4f9d6
FR*S91*EV*BAPW1,5f1de510-1be5-3efe-9d7e-b252da1bacb8
FR*S91*EV*BAPW2,7510cd5e-4990-34c5-8536-c335cf8893a9
FR*S91*EV*BGNL1,430bcbea-8a34-3031-9753-a411e9a4b8be
FR*S91*EV*BGNL2,c6b3f622-a702-30f5-a154-88df92922d2d
FR*S91*EV*BLYP1,c37012ae-9e3a-3a28-9d1b-753c0c348fd3
FR*S91*EV*BLYP2,0701bd41-3cef-365b-9ce7-6515ac9654a1
FR*S91*EV*CFRB1,a1fbf5e8-5015-3185-bf5b-a88265f9f797
FR*S91*EV*CFRB2,c5abdece-064e-3371-b540-ec2b9615d72f
FR*S91*EV*DDDW1,27197466-dd5e-3655-acf6-f4161b19e449
FR*S91*EV*DDDW2,8a3414a8-2874-3ce5-9a76-258b145e7d38
FR*S91*EV*DJTO1,6c5cd507-e56c-3f65-99e5-d8b31ae3d93b
FR*S91*EV*DJTO2,945b9a16-1f65-349a-adb4-815a185b3abe
FR*S91*EV*DMZA1,a20ede04-274f-3848-8ac6-421cb7f718a3
FR*S91*EV*DMZA2,9ad22b80-831a-3874-8395-4eb48a6fc07e