2009
DOI: 10.5381/jot.2009.8.7.a1
|View full text |Cite
|
Sign up to set email alerts
|

Exploring the use of Package Templates for flexible re-use of Collections of related Classes.

Abstract: It has been recognized that there is a need for a language mechanism that support reuse of collections of related classes. Existing approaches either use an enclosing class for this purpose, or introduce a special purpose, new language construct. In this paper we explore the use of packages for the grouping of related classes. Ordinary packages are already grouping of classes, so we explore the combination of packages and templates, i.e. package templates. By instantiating package templates, the classes of the… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
22
0

Year Published

2009
2009
2013
2013

Publication Types

Select...
5
2
1

Relationship

2
6

Authors

Journals

citations
Cited by 18 publications
(22 citation statements)
references
References 12 publications
0
22
0
Order By: Relevance
“…As in package templates [KMPS09], we choose a more radical approach, that is, subclassing and subtyping are totally unrelated and the latter should be explicitly declared by the programmer (as explained at page 7), hence in the example there is no a priori subtyping relation between A and AA.…”
Section: Discussion and Related Workmentioning
confidence: 99%
See 1 more Smart Citation
“…As in package templates [KMPS09], we choose a more radical approach, that is, subclassing and subtyping are totally unrelated and the latter should be explicitly declared by the programmer (as explained at page 7), hence in the example there is no a priori subtyping relation between A and AA.…”
Section: Discussion and Related Workmentioning
confidence: 99%
“…More advanced mechanisms are provided by package templates [KMPS09], which are collections of classes. However, differently from standard Java packages where an import clause only provides a shorter name for a class which is in any case part of the current class table, here importing a package template has the effect of adding its classes, either as they stand or with some modification, to the class table, by a precompilation step analogous to our flattening.…”
Section: Jigsaw-like Operatorsmentioning
confidence: 99%
“…Package Templates [12], or PT for short, is another such mechanism, and it is especially aimed at supporting code reusability. A template is a kind of package (that is, a set of classes called template classes), but it must be instantiated as part of a program before the template classes become ordinary classes in the program, and such instantiations are done at compile time.…”
Section: Introductionmentioning
confidence: 99%
“…To copy otherwise, to republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. The package template (PT) mechanism [9,10,17] targets the development of collections of reusable interdependent classes. Such a collection is a template for a package, that may be instantiated at compile time, thus forming an ordinary package.…”
Section: Introductionmentioning
confidence: 99%