摘要:
package mypack;import java.io.Serializable; import java.net.InetAddress; /** * 唯一主键生成办法。从Hibernate中提取出来。 */ public class UUIDGenerator { private static final int IP; public static int IptoInt( byte[] bytes ) { int result = 0; for (int i=0; i>> 8 ); public UUIDGenerator() { } /** * Un... 阅读全文