Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
//License from project: Open Source License 

import java.util.UUID;

public class Main {

    public static UUID createUUIDFromAssignedNumber(String an) {
        if (an.startsWith("0x")) {
            an = an.substring(2);
        }

        return UUID.fromString(String.format("0000%s-0000-1000-8000-00805f9b34fb", an));
    }
}