// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
import java.util.ArrayList;
import java.util.List;

public class Team {
    private String name;
    private List<Player> players;
    public Team(String name) {
        this.name = name;
        this.players = new ArrayList<Player>();
    }
    public String getName() {
        return name;
    }
    public List<Player> getPlayers() {
        return players;
    }
}
