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

com.vaadin.flow.component.select.data.TeamData Maven / Gradle / Ivy

There is a newer version: 23.0.16
Show newest version
package com.vaadin.flow.component.select.data;

import com.vaadin.flow.component.select.entity.Team;

import java.util.ArrayList;
import java.util.List;

public class TeamData {

    private final static List TEAM_LIST = createTeamList();

    private static List createTeamList() {
        List teamList = new ArrayList<>();

        teamList = new ArrayList<>();
        teamList.add(new Team(1, "Flow", 1));
        teamList.add(new Team(2, "Components", 1));
        teamList.add(new Team(3, "Pro tools", 1));
        teamList.add(new Team(4, "Developers Journey and Onboarding", 1));
        teamList.add(new Team(5, "Experts", 2));
        teamList.add(new Team(6, "Incubator", 2));

        return teamList;
    }

    public List getTeams() {
        return TEAM_LIST;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy