So far repetition classes (= collection classes) have been implemented only in limited ways in both Demeter/C++ and Demeter/Java. The reason is that that there is a huge implementation space to choose from. Don Batory from the University of Texas has solved this problem with the GenVoca generator P2 [batory:subjectivity]. P2, adapted to the needs of Demeter/Java, leads to a general implementation of collection classes for Demeter/Java. In http://www.ccs.neu.edu/research/demeter/sources/DemeterJava/examples in directory j-GenVoca is some explanation: program.cd grammar for GenVoca generators program.input P2 adapted to Demeter/Java README this file Reference: @ARTICLE{batory:subjectivity, AUTHOR = "Don Batory and Bart Geraci", TITLE = "Composition Validation and Subjectivity in GenVoca Generators", JOURNAL = "IEEE Transactions on Software Engineering", YEAR = 1997, PAGES = "67-82", MONTH = "February", VOLUME = 23, NUMBER = 2 } From dsb@cs.utexas.edu Mon Apr 28 11:19:17 1997 From: dsb@cs.utexas.edu (Don Batory) Date: Mon, 28 Apr 1997 10:19:07 -0500 To: Karl Lieberherr Subject: Re: GenVoca/P2 Hi Karl: Incidentally, rather than the paper that you suggested your students to read, I'd suggest this one (from my publication web page): 31.Don Batory, Vivek Singhal, Jeff Thomas, and Marty Sirkin. Scalable Software Libraries. In Proceedings of the ACM SIGSOFT '93 Conference (Los Angeles), December 1993. Don