mauda.plugin
Interface Copyable

All Known Implementing Classes:
BinQueue, FibHeap, FibHeapExt

public interface Copyable

Interface needed for undo/redoing of operations.
All data-structures (e.g. FibHeap) must implement this interface so that it is possible to copy the whole structure, and allowing to keeping them for Undo-Redo purposes.

Author:
Markus Krebs

Method Summary
 java.lang.Object deepCopy()
          Performs a deep copy of the implemented data-structure
 

Method Detail

deepCopy

java.lang.Object deepCopy()
Performs a deep copy of the implemented data-structure

Returns:
copy of the data-structure