@API(type=EXTENDABLE,
src=PRIVATE)
public class Dimension
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
height
The height.
|
int |
width
The width.
|
Constructor and Description |
---|
Dimension(int width,
int height)
Constructor.
|
Modifier and Type | Method and 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 this
Dimension object's height and
width fields. |
public Dimension(int width, int height)
width
- The width.height
- The height.public java.lang.String toString()
Dimension
object's height
and
width
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 be null
.toString
in class java.lang.Object
Dimension
objectpublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.