- Type Parameters:
T
- The type of the object to be copied
- All Known Implementing Classes:
BinaryHeap
,BinaryHeapDouble
,DisjointIntegerSetForest
,DoubleList
,FibonacciHeap
,FibonacciHeapDouble
,IntBinaryHeap
,IntBinaryHeapDouble
,IntegerList
,IntFibonacciHeap
,IntFibonacciHeapDouble
,PriorityQueueNode.Double
,PriorityQueueNode.Integer
,SimpleBinaryHeap
,SimpleBinaryHeapDouble
,SimpleFibonacciHeap
,SimpleFibonacciHeapDouble
public interface Copyable<T extends Copyable<T>>
A simple interface for objects that can be copied.
-
Method Summary
-
Method Details
-
copy
T copy()Creates an identical copy of this object.- Returns:
- an identical copy of this object.
-