-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRoute.java
47 lines (37 loc) · 1.03 KB
/
Route.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
package com.Sylhet;
public class Route {
private Place starting;
private Place ending;
private double cngCost;
private double rickshawCost;
public Route(Place starting, Place ending, double cngCost, double rickshawCost) {
this.starting = starting;
this.ending = ending;
this.cngCost = cngCost;
this.rickshawCost = rickshawCost;
}
public Place getStarting() {
return starting;
}
public void setStarting(Place starting) {
this.starting = starting;
}
public Place getEnding() {
return ending;
}
public void setEnding(Place ending) {
this.ending = ending;
}
public double getCngCost() {
return cngCost;
}
public void setCngCost(double cngCost) {
this.cngCost = cngCost;
}
public double getRickshawCost() {
return rickshawCost;
}
public void setRickshawCost(double rickshawCost) {
this.rickshawCost = rickshawCost;
}
}