de.matthiasmann.twl
Class Dimension

java.lang.Object
  extended by de.matthiasmann.twl.Dimension

public class Dimension
extends java.lang.Object


Field Summary
static Dimension ZERO
           
 
Constructor Summary
Dimension(int x, int y)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int getX()
           
 int getY()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ZERO

public static final Dimension ZERO
Constructor Detail

Dimension

public Dimension(int x,
                 int y)
Method Detail

getX

public int getX()

getY

public int getY()

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object