|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ourgrid.common.util.StreamCloner
public class StreamCloner
Class used to clone objects through stream writing and reading.
Constructor Summary | |
---|---|
StreamCloner()
|
Method Summary | ||
---|---|---|
static
|
clone(T objectToBeCloned)
Clones the given object through stream writing and reading. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StreamCloner()
Method Detail |
---|
public static <T extends java.io.Serializable> T clone(T objectToBeCloned) throws java.lang.CloneNotSupportedException
objectToBeCloned
- The object to be cloned
java.lang.CloneNotSupportedException
- If some object involved in the cloning
operation does not implement the
java.io.Serializable
interface.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |