Converts the supplied source instance to an instance of the desired Class.
@param source The source instance.
@param desiredClass The type to which the source needs to be converted.
@return The converted instance of the desired class.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.