Package com.facilita.fc.eggPlant
Class Size
- java.lang.Object
-
- com.facilita.fc.eggPlant.Size
-
public class Size extends java.lang.Object
Represents the size (width and height) of an area of the screen.
-
-
Constructor Summary
Constructors Constructor Description Size(int width, int height)
Instantiates a new size.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
int
hashCode()
int
height()
Height.java.lang.String
toString()
int
width()
Width.
-
-
-
Method Detail
-
width
public int width()
Width.- Returns:
- the width
-
height
public int height()
Height.- Returns:
- the height
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-