Skip to main content

assigning

1 reply [Last post]
ertas
Offline
Joined: 2008-02-07

Hi All!

How can I assign the content of an object to an object array
or collection

ContextDTO contextDTO = ContextHelper.getContextDTO(contextKey);
????[] = contextDTO;
else or
collection??? = contextDTO;

Thanks
ertas

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
tarbo
Offline
Joined: 2006-12-18

Assignment is... pretty basic stuff.

[url=http://java.sun.com/docs/books/tutorial/]Sun's Java Tutorial[/url]

Unless, of course, I misunderstood your question.