Package com.fasterxml.uuid

Examples of com.fasterxml.uuid.UUIDType


                                                           UUIDType expectedType)
    {
        // let's check that all the UUIDs are valid type-X UUIDs with the
        // correct variant according to the specification.
        for (int i = 0; i < uuidArray.length; i++) {
            UUIDType actual = UUIDUtil.typeOf(uuidArray[i]);
            if (actual != expectedType) {
                fail("Expected version (type) did not match for UUID '"+uuidArray[i]+"' "+i+" (of "+uuidArray.length+"); expected "
                        +expectedType+", got "+actual);
            }
            // now. let's double check the variant and type from the array
View Full Code Here

TOP

Related Classes of com.fasterxml.uuid.UUIDType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.