rle.core.board
Class RLDimension
java.lang.Object
rle.core.board.RLDimension
public final class RLDimension
- extends java.lang.Object
Immutable object for specifying dimensions on the Board.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
width
public final int width
height
public final int height
RLDimension
public RLDimension(int width,
int height)
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