public class Size
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
int |
height |
Height (vertical size)
|
int |
width |
Width (horizontal size)
|
| Constructor | Description |
|---|---|
Size() |
Constructor.
|
Size(int width,
int height) |
public int width
public int height
public int getWidth()
widthpublic void setWidth(int width)
widthpublic int getHeight()
heightpublic void setHeight(int height)
heightpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object