/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import com.google.common.base.Charsets;
class Main {
String[] values
= {"FR*S91*EV*DDDW1",
"FR*S92*EV*DDDW2",
"FR*S93*EV*DDDW3"};
byte[] bytes = value.getBytes(Charsets.UTF_8);
System.
out.
println(value
+ "," + java.
util.
UUID.
nameUUIDFromBytes(bytes
)); }
}
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBjb20uZ29vZ2xlLmNvbW1vbi5iYXNlLkNoYXJzZXRzOwoKY2xhc3MgTWFpbiB7CiAgICBwdWJsaWMgc3RhdGljIHZvaWQgbWFpbihTdHJpbmdbXSBhcmdzKSB0aHJvd3MgamF2YS5sYW5nLkV4Y2VwdGlvbiB7CiAgICAgICAgU3RyaW5nW10gdmFsdWVzID0geyJGUipTOTEqRVYqREREVzEiLCAiRlIqUzkyKkVWKkRERFcyIiwgIkZSKlM5MypFVipERERXMyJ9OwogICAgICAgIAogICAgICAgIGZvciAoU3RyaW5nIHZhbHVlIDogdmFsdWVzKSB7CiAgICAgICAgICAgIGJ5dGVbXSBieXRlcyA9IHZhbHVlLmdldEJ5dGVzKENoYXJzZXRzLlVURl84KTsKICAgICAgICAgICAgU3lzdGVtLm91dC5wcmludGxuKHZhbHVlICsgIiwiICsgamF2YS51dGlsLlVVSUQubmFtZVVVSURGcm9tQnl0ZXMoYnl0ZXMpKTsKICAgICAgICAgICAgVGhyZWFkLnNsZWVwKDUwMCk7CiAgICAgICAgfQogICAgfQp9