com.iobeam.api.resource.ResourceList Maven / Gradle / Ivy
package com.iobeam.api.resource;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
/**
* A base type for collections of resource objects.
*/
public abstract class ResourceList implements Serializable {
private final ArrayList list = new ArrayList();
public void add(final T r) {
list.add(r);
}
protected List getList() {
return list;
}
public int size() {
return list.size();
}
@Override
public String toString() {
return list.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy