×

Decomposing a generic class into layers

  • US 9,910,680 B2
  • Filed: 03/17/2015
  • Issued: 03/06/2018
  • Est. Priority Date: 04/22/2014
  • Status: Active Grant
First Claim
Patent Images

1. A non-transitory, computer-readable storage medium storing program instructions that when executed on a computing device cause the computing device to perform:

  • expanding a domain of genericity of an existing generic class comprising a plurality of class members, wherein one or more of the plurality of class members do not support at least part of the expanded domain of genericity, wherein the domain of genericity comprises a range of types over which the generic class is eligible for specialization, wherein for the expanded domain of genericity the range of types includes one or more reference types and one or more non-reference types, wherein the one or more of the plurality of class members that do not support at least part of the expanded domain of genericity do not support specialization for the one or more non-reference types;

    wherein said expanding comprises;

    creating a subdivided version of the class that supports the expanded domain of genericity and preserves compatibility with the existing generic class, wherein creating the subdivided version of the class comprises;

    including, in the subdivided version of the class, one or more indicators that identify one or more of the plurality of class members that support the expanded domain of genericity as part of a first layer of the subdivided version of the class, and the one or more of the plurality of class members that do not support at least part of the expanded domain of genericity as part of a second layer of the subdivided version of the class.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×