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

com.vaadin.flow.component.grid.demo.data.StatesData Maven / Gradle / Ivy

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

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

public class StatesData {
    private static final List STATE_LIST = createStateList();

    private static List createStateList() {
        List stateList = new ArrayList<>();

        stateList.add("Alabama");
        stateList.add("California");
        stateList.add("Florida");
        stateList.add("Georgia");
        stateList.add("Maryland");
        stateList.add("Michigan");
        stateList.add("Nevada");
        stateList.add("New York");
        stateList.add("Ohio");
        stateList.add("Washington");

        return stateList;
    }

    public List getAllStates() {
        return STATE_LIST;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy