首页> 外国专利> METHOD OF MANAGING APPLICATION DATA FLOW USING SINGLETON PATTERN

METHOD OF MANAGING APPLICATION DATA FLOW USING SINGLETON PATTERN

机译:利用单例模式管理应用数据流的方法

摘要

Disclosed is a method to manage android application data inflow using a singleton pattern. The method comprises: a step of enabling a database class to receive a data storage command of activity; a step of determining whether or not an instance to execute the data storage command exists in the database class; a step of storing data by using the instance to execute the data storage command when the instance to execute the data storage command exists; and a step of generating a new instance to execute the data storage command, and storing the data using the new instance when the instance to execute the data storage command does not exist.
机译:公开了一种使用单例模式管理android应用程序数据流入的方法。该方法包括:使数据库类能够接收活动的数据存储命令的步骤;确定数据库类中是否存在执行数据存储命令的实例的步骤;当存在执行数据存储命令的实例时,通过使用实例执行数据存储命令来存储数据的步骤;生成新实例以执行数据存储命令的步骤,以及当不存在执行数据存储命令的实例时,使用新实例存储数据的步骤。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号