so that we can pass in the CloneableObject directly to an algorithm that expects Object type parameter. Abstracts out a layer of indirection from individual algorithms' code into the code for the Cloneable entity.
Making CloneableInteger, CloneableString, and the like to act like Integer, String, etc. shouldn't be that hard...but we need to think carefully about what it means to make more complicated classes like CloneableArrayList or CloneableMyLinkedList masquerade as their dataTypes so that we can pass them directly to the algorithm.
This will also require changing CloneableInputsMap quite a bit I imagine.
so that we can pass in the CloneableObject directly to an algorithm that expects Object type parameter. Abstracts out a layer of indirection from individual algorithms' code into the code for the Cloneable entity.
Making CloneableInteger, CloneableString, and the like to act like Integer, String, etc. shouldn't be that hard...but we need to think carefully about what it means to make more complicated classes like CloneableArrayList or CloneableMyLinkedList masquerade as their dataTypes so that we can pass them directly to the algorithm.
This will also require changing CloneableInputsMap quite a bit I imagine.