rle.core.board
Class RLDimension

java.lang.Object
  extended by rle.core.board.RLDimension

public final class RLDimension
extends java.lang.Object

Immutable object for specifying dimensions on the Board.


Field Summary
 int height
           
 int width
           
 
Constructor Summary
RLDimension(int width, int height)
           
 
Method Summary
static RLDimension dimension(int width, int height)
           
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

width

public final int width

height

public final int height
Constructor Detail

RLDimension

public RLDimension(int width,
                   int height)
Method Detail

equals

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

hashCode

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

dimension

public static RLDimension dimension(int width,
                                    int height)

toString

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