Interface Copyable<T extends Copyable<T>>

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

public interface Copyable<T extends Copyable<T>>
A simple interface for objects that can be copied.
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates an identical copy of this object.
  • Method Details

    • copy

      T copy()
      Creates an identical copy of this object.
      Returns:
      an identical copy of this object.