1 package com.jed.util;
2
3
4
5
6
7
8
9
10 public final class Rectangle {
11
12
13
14
15 private int width;
16
17
18
19
20 private int height;
21
22
23
24
25
26
27
28 public Rectangle(int width, int height) {
29 this.width = width;
30 this.height = height;
31 }
32
33
34
35
36
37 public int getWidth() {
38 return width;
39 }
40
41
42
43
44
45 public void setWidth(int width) {
46 this.width = width;
47 }
48
49
50
51
52
53 public int getHeight() {
54 return height;
55 }
56
57
58
59
60
61 public void setHeight(int height) {
62 this.height = height;
63 }
64
65 }