commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Spranger, Steffen" <Steffen.Spran...@incowia.com>
Subject Generic Collection and Betwixt
Date Wed, 13 Dec 2006 08:18:04 GMT
Hi,

has anyone worked with Java 5 Generic collection in betwixt?
I'm looking for a possibility to store in(and read from) XML collections
of different types without having to write my own collection class.

Example: 
public class PersonCollection {
	List<Person> mPersons;
	public List getPersons() {
	public void setPersons(List persons) {
	public void addPerson(Person person) {
}
Can I store (and read) a collection of Person-instances without my
explicit PersonCollection?

Regards,
	Steffen




---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message