@@ -0,0 +1,861 @@
+package org.bird.breeze.util;%0A%0Aimport java.io.*;%0A%0A/**%0A * The type Clone utils.%0A *%0A * @author pompey%0A */%0Apublic class CloneUtils %7B%0A%0A    @SuppressWarnings(%22unchecked%22)%0A    public static %3CT extends Serializable%3E T clone(T obj)%7B%0A        T cloneObj = null;%0A        try %7B%0A            //%E5%86%99%E5%85%A5%E5%AD%97%E8%8A%82%E6%B5%81%0A            ByteArrayOutputStream out = new ByteArrayOutputStream();%0A            ObjectOutputStream obs = new ObjectOutputStream(out);%0A            obs.writeObject(obj);%0A            obs.close();%0A%0A            //%E5%88%86%E9%85%8D%E5%86%85%E5%AD%98%EF%BC%8C%E5%86%99%E5%85%A5%E5%8E%9F%E5%A7%8B%E5%AF%B9%E8%B1%A1%EF%BC%8C%E7%94%9F%E6%88%90%E6%96%B0%E5%AF%B9%E8%B1%A1%0A            ByteArrayInputStream ios = new ByteArrayInputStream(out.toByteArray());%0A            ObjectInputStream ois = new ObjectInputStream(ios);%0A            //%E8%BF%94%E5%9B%9E%E7%94%9F%E6%88%90%E7%9A%84%E6%96%B0%E5%AF%B9%E8%B1%A1%0A            cloneObj = (T) ois.readObject();%0A            ois.close();%0A        %7D catch (Exception e) %7B%0A            e.printStackTrace();%0A        %7D%0A        return cloneObj;%0A    %7D%0A%7D

add clone util