ch.systemsx.cisd.openbis.dss.generic.shared.dto
Class Size

java.lang.Object
  extended by 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)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int getHeight()
           
 int getWidth()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NULL_SIZE

public static final Size NULL_SIZE
NULL_SIZE can be encode special conditions e.g. "no thumbnails available"

Constructor Detail

Size

public Size(int width,
            int height)
Method Detail

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