This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.util.ArrayList; | |
| import java.util.List; | |
| public class ComplaintService { | |
| private List<Complaint> complaintList = new ArrayList<>(); | |
| private long idCounter = 1; | |
| public Complaint addComplaint(Complaint complaint) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.util.ArrayList; | |
| import java.util.List; | |
| public class ScheduleService { | |
| private List<Schedule> scheduleList = new ArrayList<>(); | |
| private long idCounter = 1; | |
| public Schedule addSchedule(Schedule schedule) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.util.ArrayList; | |
| import java.util.List; | |
| public class DriverService { | |
| private List<Driver> driverList = new ArrayList<>(); | |
| private long idCounter = 1; | |
| public Driver addDriver(Driver driver) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.util.ArrayList; | |
| import java.util.List; | |
| public class RouteService { | |
| private List<Route> routeList = new ArrayList<>(); | |
| private long idCounter = 1; | |
| public Route addRoute(Route route) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.util.ArrayList; | |
| import java.util.List; | |
| public class BusService { | |
| private long idcounter = 1; | |
| List<Bus> busList = new ArrayList<>(); | |
| /*Method e function er nam turjoy j model layer e nam dibe oi nam dia replace krle connect hoa jabe */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| using namespace std; | |
| class Node { | |
| public: | |
| int data; | |
| Node* next; | |
| Node(int value) { |