/** * This is a concrete implementation of this method inherited from the base class. This method * will perform a deep copy of <code>source</code> into <code>destination</code>. * * @param src The Object which contains the data to be copied. * @return Returns <code>destination</code>. * @exception NullPointerException If <code>destination</code> or <code>source</code> is null. * @exception ClassCastException If either <code>destination</code> or <code>this</code> is not a * <code>SunRadiationData</code> type. */ public Object copy_data(Object destination, Object source) { SunRadiationData typedDst = (SunRadiationData) destination; SunRadiationData typedSrc = (SunRadiationData) source; return typedDst.copy_from(typedSrc); }