Patents
US 9,524,152 B2#61161206 Most CitedActiveUnited States (USPTO)Utility

Partial specialization of generic classes

1Forward Citations (#61161206 Global)
0.1/yrCitation Velocity (#46370109 Global)
0.75Citation PageRank (#61161206 Global)
39Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

Generic classes may have more than one specializable type parameter and it may be desirable to specialize one or more of the type variables while not specializing others. The result of partial specialization may be one or more additional generic classes that are further specializable on the remaining type parameters. A runtime specializer may partially specialize a generic class to produce a partially specialized class and may subsequently further specialize the partially specialized class to generate a fully specialized class. Thus, rather than performing the specialization of a generic class all at once, such as by specializing Map<K, V> into Map<int, int> or Map<long, int>, one type parameter may be partially specialized, such as resulting in Map<K, int>, and then at some later time the remaining type parameter(s) may be specialized, such as to generate Map<int, int> or Map<long, int>.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 39 · Forward citations: 1.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A non-transitory, computer-readable storage medium storing program instructions that when executed on a computing device cause the computing device to perform: partially specializing a generic class within a platform independent, object oriented runtime environment, wherein the generic class comprises a plurality of specializable type variables, wherein each of the plurality of specializable type variables are specializable over a plurality of type parameterizations; and wherein to partially specialize the generic class, the program instructions further cause the computing device to perform: s

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Cited By — Indexed Forward Citations (1 of 1 total)

References Cited — Backward Prior Art (39)

PatentTitleYearCitations
US 5,628,016 ASystems and methods and implementing exception handling using exception registration records stored in stack memory1997260
US 5,677,312 AMethod and compositions for maintaining glomerular filtration rate while inhibiting extracellular matrix accumulation19974
US 5,923,878 ASystem, method and apparatus of directly executing an architecture-independent binary program1999113
US 6,279,008 B1Integrated graphical user interface method and apparatus for mapping between objects and databases2001165
US 2002032900 A1Methods and systems for generating source code for object oriented elements—55
US 6,360,360 B1Object-oriented compiler mechanism for automatically selecting among multiple implementations of objects200243
US 2003018958 A1Optional attribute generator for customized Java programming environments—13
US 6,513,152 B1Object oriented framework mechanism for customization of object oriented frameworks2003104
US 2003079049 A1Representation of java data types in virtual machines—15
US 2003079201 A1Type checking in java computing environments—15
US 2004006762 A1System and method for creation of software components—53
US 6,757,890 B1Methods and apparatus for enabling local Java object allocation and collection200422
US 2004221228 A1Method and apparatus for domain specialization in a document type definition—23
WO 2004/102303 A2Compiling intermediate language bytecodes into java bytecodes—9
US 2005055682 A1Authoring and using generic classes in JAVA language code—37
US 2005193269 A1System, method, and article of manufacture for synchronization in an automated scripting framework—262
US 7,000,219 B2Software development process200690
US 2006048024 A1Pattern types as constraints on generic type parameters—25
US 2006143597 A1Method and a software product for adapting a .NET framework compliant reflection mechanism to a java environment—46
US 2006251125 A1System and method for producing notification based web services—28
US 7,162,716 B2Software emulator for optimizing application-programmable vertex processing200739
US 2007256069 A1Dependency-based grouping to establish class identity—46
US 2008033968 A1Methods and apparatus for input specialization—18
US 2008040360 A1Design pattern for choice types in object oriented languages—17
US 2008154950 A1Object constructors for generic frameworks—11
US 2008275910 A1Method and apparatus for automatic generation of information system user interfaces—84
US 2008294740 A1Event decomposition using rule-based directives and computed keys—15
US 7,530,051 B1Method and apparatus for dimensional analysis encoded in metatypes and generics20092
US 7,571,430 B2Adaptive dispatch table based on templates20092

Non-Patent Literature (5)

  • "Common Language Infrastructure (CLI) Partitions I to VI", ECMA International, Jun. 2012, pp. 1-548, Standard ECMA-335, 6th Edition.
  • "Generics and Templates (Visual C++)"; Microsoft Developer Network website (msdn.microsoft.com) as captured by the Wayback Machine Internet Archive (archive.org) on Mar. 20, 2014.
  • "Templates, C++ FAQ", Jan. 15, 2014, Retrieved from the Internet: URL:http://web.archive.org/web/20140115082944/http://isoccp.org.wiki/faq/templates, pp. 2-27.
  • "Understanding C++ Partial Template Specialization"; Stack Overflow website (stackoverflow.com); May 26, 2011.
  • Alessandro Warth, et al., "Statically Scoped Object Adaptation with Expanders", ACM OOPSLA'06, Oct. 22-26, 2006, pp. 1-19.