Package com.alimama.mdrill.ui.service

Source Code of com.alimama.mdrill.ui.service.MdrillFunction

package com.alimama.mdrill.ui.service;

import java.util.zip.CRC32;

public class MdrillFunction {
  public static Long uuid()
  {
    CRC32 crc32 = new CRC32();
    crc32.update(String.valueOf(java.util.UUID.randomUUID().toString()).getBytes());
    return crc32.getValue();
  }
 
 
}
TOP

Related Classes of com.alimama.mdrill.ui.service.MdrillFunction

TOP
Copyright © 2018 www.massapi.com. 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.