|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object marf.math.Matrix.Direction
public static class Matrix.Direction
Indicates the direction in which a matrix to be extended. Might emerge to generic integer Enum in marf.util eventually.
Field Summary | |
---|---|
static int |
EAST
Indicates East direction. |
static int |
NORTH
Indicates North direction. |
static int |
SOUTH
Indicates South direction. |
static int |
WEST
Indicates West direction. |
Constructor Summary | |
---|---|
Matrix.Direction()
Default constructor. |
|
Matrix.Direction(int piDirection)
Direction Constructor. |
|
Matrix.Direction(Matrix.Direction poDirection)
Copy Constructor. |
Method Summary | |
---|---|
int |
getDirection()
Retrieves current direction. |
void |
setDirection(int piDirection)
Sets new value of current direction. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int EAST
public static final int WEST
public static final int NORTH
public static final int SOUTH
Constructor Detail |
---|
public Matrix.Direction()
public Matrix.Direction(int piDirection)
setDirection()
internally.
piDirection
- custom direction to extend
java.lang.RuntimeException
- if piDirection is out of rangesetDirection(int)
public Matrix.Direction(Matrix.Direction poDirection)
poDirection
- custom direction object to extendMethod Detail |
---|
public int getDirection()
public void setDirection(int piDirection)
piDirection
- current value of direction to be
java.lang.RuntimeException
- if piDirection is outside of valid range of values.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |