public static < T > T extract ( final DeviceAttribute da , final Class < T > type ) throws DevFailed { if ( da == null ) { throw DevFailedUtils . newDevFailed ( ERROR_MSG_DA ) ; } return TypeConversionUtil . castToType ( type , extract ( da ) ) ; }
Extract read and write part values to an object for SCALAR SPECTRUM and IMAGE to the requested type