Java Code Examples for java.util.UUID.getClass()

The following are Jave code examples for showing how to use getClass() of the java.util.UUID class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
+ Save this method
Example 1
Project: oscm   File: XMLSerializer.java   View Source Code Vote up 4 votes
@Override
protected Expression instantiate(Object oldInstance, Encoder out) {
    UUID bd = (UUID) oldInstance;
    return new Expression(bd, bd.getClass(), "fromString",
            new Object[] { bd.toString() });
}