-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathQuote.java
More file actions
49 lines (36 loc) · 710 Bytes
/
Quote.java
File metadata and controls
49 lines (36 loc) · 710 Bytes
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
48
49
public class Quote {
private String symbol;
private int time_quote;
private double bid;
private double ask;
public Quote(String s,int t,double b,double a){
this.setSymbol(s);
this.setTime_quote(t);
this.setBid(b);
this.setAsk(a);
}
public String getSymbol() {
return symbol;
}
public void setSymbol(String symbol) {
this.symbol = symbol;
}
public int getTime_quote() {
return time_quote;
}
public void setTime_quote(int time_quote) {
this.time_quote = time_quote;
}
public double getBid() {
return bid;
}
public void setBid(double bid) {
this.bid = bid;
}
public double getAsk() {
return ask;
}
public void setAsk(double ask) {
this.ask = ask;
}
}