| Modifier and Type | Field and Description |
|---|---|
| protected int | |
| protected String | |
| protected int | |
| protected String |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public int | |
| public String | |
| public int | |
| public String | |
| public String |
| height | back to summary |
|---|---|
| protected int height | |
| heightUnit | back to summary |
|---|---|
| protected String heightUnit | |
| width | back to summary |
|---|---|
| protected int width | |
| widthUnit | back to summary |
|---|---|
| protected String widthUnit | |
| Size | back to summary |
|---|---|
public Size(int width, int height)
| |
| Size | back to summary |
|---|---|
public Size(int width, int height, String widthUnit, String heightUnit)
| |
| equals | back to summary |
|---|---|
| public boolean equals(Size other) | |
| getHeight | back to summary |
|---|---|
| public int getHeight() | |
| getHeightUnit | back to summary |
|---|---|
| public String getHeightUnit() | |
| getWidth | back to summary |
|---|---|
| public int getWidth() | |
| getWidthUnit | back to summary |
|---|---|
| public String getWidthUnit() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |