-
Notifications
You must be signed in to change notification settings - Fork 274
Expand file tree
/
Copy pathDataBase.java
More file actions
18 lines (15 loc) · 551 Bytes
/
Copy pathDataBase.java
File metadata and controls
18 lines (15 loc) · 551 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.javatechie.stream.api.example;
import java.util.ArrayList;
import java.util.List;
//DAO layer
public class DataBase {
public static List<Employee> getEmployees() {
List<Employee> list = new ArrayList<>();
list.add(new Employee(176, "Roshan", "IT", 600000));
list.add(new Employee(388, "Bikash", "CIVIL", 900000));
list.add(new Employee(470, "Bimal", "DEFENCE", 500000));
list.add(new Employee(624, "Sourav", "CORE", 400000));
list.add(new Employee(176, "Prakash", "SOCIAL", 1200000));
return list;
}
}