The Artima Developer Community
Sponsored Link

Design Forum
Implementing Aggregation in java

2 replies on 1 page. Most recent reply: Sep 8, 2003 5:45 AM by David

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 2 replies on 1 page
Praveen C

Posts: 1
Nickname: prav
Registered: Jul, 2003

Implementing Aggregation in java Posted: Jul 5, 2003 7:05 AM
Reply to this message Reply
Advertisement
What are the standard ways to implement aggregation and composition relationships in java.Apart from having a simple reference what additional things can be done in implementation to realize the message the design conveys


Thomas SMETS

Posts: 307
Nickname: tsmets
Registered: Apr, 2002

Re: Implementing Aggregation in java Posted: Sep 5, 2003 12:02 AM
Reply to this message Reply
Prav',
I think you should be clearer in your request.
Adding paragraphs to a Document (representation's in Java) can simply be done by holding the references in an ArrayList, or in a Vector if synchronization may be requested ...
What do you wan tmore than that in your request ?
Cheers,
\T,

David

Posts: 150
Nickname: archangel
Registered: Jul, 2003

Re: Implementing Aggregation in java Posted: Sep 8, 2003 5:45 AM
Reply to this message Reply
Basically, anything that implements java.util.Collection.

Flat View: This topic has 2 replies on 1 page
Topic: some thoughts Previous Topic   Next Topic Topic: Singelton & JUnit tests

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use