All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.beimin.eveapi.model.shared.NamedList Maven / Gradle / Ivy

There is a newer version: 7.0.4
Show newest version
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy