1 | public class E {↵ | | 1 | public class DataPoint {↵
|
2 | private Long id;↵ | | 2 | private long id;↵
|
3 | private float amount;↵ | | 3 | private ↵
|
4 | private A reverse;↵ | | |
|
5 | private Set as↵ | | 4 | BigDecimal x;↵
|
| | | 5 | private BigDecimal y;↵
|
6 | ;↵ | | 6 | private String description;↵
|
7 | /**↵ | | 7 | /**↵
|
8 | * Returns the amount.↵ | | 8 | * @return Returns the ↵
|
9 | * @return float↵ | | |
|
10 | */↵ | | |
|
11 | public float getAmount↵ | | 9 | description.↵
|
| | | 10 | */↵
|
12 | () {↵ | | 11 | public String getDescription() {↵
|
13 | return amount;↵ | | 12 | return description;↵
|
14 | }↵ | | 13 | }↵
|
15 | ↵ | | 14 | ↵
|
16 | /**↵ | | 15 | /**↵
|
17 | * Returns the id.↵ | | 16 | * ↵
|
18 | * @return long↵ | | |
|
19 | */↵ | | |
|
20 | public Long getId() {↵ | | |
|
21 | return id↵ | | 17 | @param description The description to set.↵
|
| | | 18 | */↵
|
| | | 19 | public void setDescription(String description) {↵
|
22 | ;↵ | | 20 | this.description = description;↵
|
23 | }↵ | | 21 | }↵
|
24 | ↵ | | 22 | ↵
|
25 | /**↵ | | 23 | /**↵
|
26 | * Sets the amount.↵ | | 24 | * ↵
|
27 | * @param amount The amount to set↵ | | |
|
28 | */↵ | | |
|
29 | public void setAmount(float amount) {↵ | | |
|
30 | this.amount = amount↵ | | 25 | @return Returns the id.↵
|
| | | 26 | */↵
|
| | | 27 | public long getId() {↵
|
31 | ;↵ | | 28 | return id;↵
|
32 | }↵ | | 29 | }↵
|
33 | ↵ | | 30 | ↵
|
34 | /**↵ | | 31 | /**↵
|
35 | * Sets the id.↵ | | 32 | ↵
|
36 | * @param id The id to set↵ | | 33 | * @param id The id to set.↵
|
37 | */↵ | | 34 | */↵
|
38 | public void setId(Long id) {↵ | | 35 | public void setId(long id) {↵
|
39 | this.id = id;↵ | | 36 | this.id = id;↵
|
40 | }↵ | | 37 | }↵
|
41 | ↵ | | 38 | ↵
|
42 | public A getReverse() {↵ | | |
|
43 | return reverse;↵ | | |
|
44 | }↵ | | |
|
| | | 39 | /**↵
|
| | | 40 | * @return Returns the x.↵
|
| | | 41 | */↵
|
| | | 42 | public BigDecimal getX() {↵
|
| | | 43 | return x;↵
|
| | | 44 | }↵
|
| | | 45 | /**↵
|
| | | 46 | * @param x The x to set.↵
|
| | | 47 | */↵
|
45 | public void setReverse(A a) {↵ | | 48 | public void set↵
|
46 | reverse↵ | | 49 | X(BigDecimal x) {↵
|
47 | = a;↵ | | 50 | this.x = x;↵
|
48 | }↵ | | 51 | }↵
|
|
49 | /**↵ | | 52 | /**↵
|
50 | * @return Returns the as.↵ | | 53 | * @return Returns the y.↵
|
51 | */↵ | | 54 | */↵
|
52 | public Set getAs() {↵ | | 55 | public BigDecimal getY() {↵
|
53 | return as;↵ | | 56 | return y;↵
|
54 | }↵ | | 57 | }↵
|
|
55 | /**↵ | | 58 | /**↵
|
56 | * @param as The as to set.↵ | | 59 | * @param y The y to set.↵
|
57 | */↵ | | 60 | */↵
|
58 | public void setAs(Set as) {↵ | | 61 | public void setY(BigDecimal y) {↵
|
59 | this.as = as | | 62 | this.y = y
|