com.beimin.eveapi.model.shared.NamedList Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of eveapi Show documentation
Show all versions of eveapi Show documentation
Parsers for the eve online api
package com.beimin.eveapi.model.shared;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
public class NamedList {
private final List list = new ArrayList();
private String name;
public String getName() {
return name;
}
public void setName(final String name) {
this.name = name;
}
public void add(final E value) {
list.add(value);
}
public Iterator iterator() {
return list.iterator();
}
public int size() {
return list.size();
}
public E get(final int index) {
return list.get(index);
}
public List getList() {
return list;
}
}