首页> 外国专利> Defining classes as singleton classes or non-singleton classes

Defining classes as singleton classes or non-singleton classes

机译:将类定义为单例类或非单例类

摘要

One or more of the classes is defined using an attribute or keyword that indicates that the one or more classes may be defined as singleton classes or non-singleton classes (a class that may be instantiated more than once). A compiler system converts the class to a singleton class when the compiler system receives a command or request indicating that the class is to be defined as a singleton class. Various optimizations may be performed when one or more of the classes in the source code are defined as singleton classes. The compiler system may not convert the class to a singleton class when the compiler system receives a command or request indicating that the class is to be defined as a non-singleton class.
机译:使用一个属性或关键字定义一个或多个类,该属性或关键字指示一个或多个类可以定义为单例类或非单例类(可以多次实例化的类)。当编译器系统接收到指示该类将被定义为单例类的命令或请求时,编译器系统将该类转换为单例类。当将源代码中的一个或多个类定义为单例类时,可以执行各种优化。当编译器系统接收到指示该类将被定义为非单例类的命令或请求时,编译器系统可能不会将该类转换为单例类。

著录项

  • 公开/公告号US9448818B2

    专利类型

  • 公开/公告日2016-09-20

    原文格式PDF

  • 申请/专利权人 RED HAT INC.;

    申请/专利号US201414181315

  • 发明设计人 DAVID H. MALCOLM;

    申请日2014-02-14

  • 分类号G06F9/45;G06F9/445;

  • 国家 US

  • 入库时间 2022-08-21 14:31:43

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号