Invention Grant
- Patent Title: Immutable properties in a class
- Patent Title (中): 不可变的属性在一个类
-
Application No.: US13151783Application Date: 2011-06-02
-
Publication No.: US08826229B2Publication Date: 2014-09-02
- Inventor: David A. Foti
- Applicant: David A. Foti
- Applicant Address: US MA Natick
- Assignee: The Mathworks, Inc.
- Current Assignee: The Mathworks, Inc.
- Current Assignee Address: US MA Natick
- Agency: Harrity & Harrity, LLP
- Main IPC: G06F9/45
- IPC: G06F9/45 ; G06F9/44

Abstract:
In an embodiment, a class definition of a class may provide an indication whether a property, which is part of the class, is immutable. The indication may be made implicitly or explicitly. A value of the property may be established (e.g., set) during a creation of an instance of the class. An attempt to set the value of the property after the instance is created may be disallowed. Further, an error (e.g., an error message, exception condition) may be reported in response to disallowing the attempt.
Public/Granted literature
- US20120311532A1 IMMUTABLE PROPERTIES IN A CLASS Public/Granted day:2012-12-06
Information query