All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.vaadin.flow.component.grid.demo.data.CustomerData Maven / Gradle / Ivy
package com.vaadin.flow.component.grid.demo.data;
import com.vaadin.flow.component.grid.demo.entity.Customer;
import java.util.ArrayList;
import java.util.List;
public class CustomerData {
private static final List CUSTOMER_LIST = createCustomerList();
private static List createCustomerList() {
List customerList = new ArrayList<>();
customerList.add(new Customer(91, "Jack", "Giles", "United States",
"Washington"));
customerList.add(new Customer(92, "Nathan", "Patterson",
"United States", "Florida"));
customerList.add(
new Customer(93, "Ahmad", "Matin", "Afghanistan", "Zabol"));
customerList.add(new Customer(94, "Peter", "Buchanan", "United Kingdom",
"London"));
customerList.add(
new Customer(95, "Andrew", "Bauer", "Australia", "Sydney"));
customerList.add(new Customer(96, "Samuel", "Lee", "United States",
"Washington"));
customerList.add(
new Customer(97, "Anton", "Ross", "United States", "Nevada"));
customerList
.add(new Customer(98, "Artur", "Signell", "Finland", "Turku"));
customerList
.add(new Customer(99, "Johannes", "Häyry", "Finland", "Turku"));
customerList.add(new Customer(100, "Alexandru", "Chiuariu", "Romania",
"Bucharest"));
customerList
.add(new Customer(101, "Mehdi", "Javan", "Iran", "Birjand"));
customerList.add(new Customer(102, "Jack", "Woodward", "United States",
"Georgia"));
customerList.add(new Customer(103, "Avery", "Reeves", "United States",
"Washington"));
return customerList;
}
public List getAllCustomers() {
return CUSTOMER_LIST;
}
}