Cloner

public interface Cloner
Author:Lars Kroll <lkroll@kth.se>

Methods

clone

public Object clone(Object o)

Clones the given object and returns the copy.

Use for custom value cloning logic.

Parameters:
  • o – Source object
Returns:

Copy of the source