ch.systemsx.cisd.openbis.dss.generic.shared.dto
Class Size
java.lang.Object
ch.systemsx.cisd.openbis.dss.generic.shared.dto.Size
public final class Size
- extends java.lang.Object
Field Summary |
static Size |
NULL_SIZE
NULL_SIZE can be encode special conditions e.g. |
Constructor Summary |
Size(int width,
int height)
|
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
NULL_SIZE
public static final Size NULL_SIZE
- NULL_SIZE can be encode special conditions e.g. "no thumbnails available"
Size
public Size(int width,
int height)
getWidth
public int getWidth()
getHeight
public int getHeight()
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object