How can I assign the content of an object to an object array
ContextDTO contextDTO = ContextHelper.getContextDTO(contextKey);
???? = contextDTO;
collection??? = contextDTO;
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.
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.