Package org.jfree.chart.util
Class CloneUtils
java.lang.Object
org.jfree.chart.util.CloneUtils
Utilities for cloning.
- Since:
- 1.0.18
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CloneUtils
public CloneUtils()
-
-
Method Details
-
cloneList
Returns a list containing cloned copies of the items in the source list.- Parameters:
source
- the source list (null
not permitted).- Returns:
- A new list.
-
cloneMapValues
Returns a new map that contains the same keys and cloned copied of the values.- Parameters:
source
- the source map (null
not permitted).- Returns:
- A new map.
- Since:
- 1.0.18
-