Package ro.sync.exml.view.graphics
Class Dimension
- java.lang.Object
-
- ro.sync.exml.view.graphics.Dimension
-
@API(type=EXTENDABLE, src=PRIVATE) public class Dimension extends java.lang.Object
Dimension.
-
-
Constructor Summary
Constructors Constructor Description Dimension(int width, int height)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Checks whether two dimension objects have equal values.int
hashCode()
java.lang.String
toString()
Returns a string representation of the values of thisDimension
object'sheight
andwidth
fields.
-
-
-
Method Detail
-
toString
public java.lang.String toString()
Returns a string representation of the values of thisDimension
object'sheight
andwidth
fields. This method is intended to be used only for debugging purposes, and the content and format of the returned string may vary between implementations. The returned string may be empty but may not benull
.- Overrides:
toString
in classjava.lang.Object
- Returns:
- a string representation of this
Dimension
object
-
equals
public boolean equals(java.lang.Object obj)
Checks whether two dimension objects have equal values.- Overrides:
equals
in classjava.lang.Object
- See Also:
Object.equals(java.lang.Object)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
- See Also:
Object.hashCode()
-
-