commons-user mailing list archives

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

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.

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?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message