@Immutable
public class Dimensions
extends java.lang.Object
Constructor and Description |
---|
Dimensions(int width,
int height) |
public int getWidth()
public int getHeight()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object