/** * Return a completely independent shallow copy instance of the incoming object. The * returned object CANNOT be freely mutated without any consequential changes * being made to the originating object. * * Use with care - the returned object may share references with the original object. * * @param object to be replicated * @return shallow replicated object */ public T shallowReplicate(T object) { return cloner.shallowClone(object); } }
UserError.Log.d(TAG, "Error writing characteristic: " + localmCharacteristic.getUuid() + " " + JoH.bytesToHex(value)); final BluetoothGattCharacteristic resendCharacteristic = cloner.shallowClone(localmCharacteristic);
UserError.Log.d(TAG, "Error writing characteristic: " + localmCharacteristic.getUuid() + " " + JoH.bytesToHex(value)); final BluetoothGattCharacteristic resendCharacteristic = cloner.shallowClone(localmCharacteristic);
UserError.Log.d(TAG, "Error writing characteristic: " + localmCharacteristic.getUuid() + " " + JoH.bytesToHex(value)); final BluetoothGattCharacteristic resendCharacteristic = cloner.shallowClone(localmCharacteristic);