|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pentaho.di.trans.steps.olapinput.olap4jhelper.Matrix
public class Matrix
Constructor Summary | |
---|---|
Matrix()
|
|
Matrix(int width,
int height)
Creats a Matrix. |
Method Summary | |
---|---|
AbstractBaseCell |
get(int x,
int y)
Returns the cell at a particular coordinate. |
Map<List<Integer>,AbstractBaseCell> |
getMap()
Return the generated hashmap. |
int |
getMatrixHeight()
Return the height of the matrix. |
int |
getMatrixWidth()
Return the width of the created matrix. |
int |
getOffset()
Return the header/row data offset. |
void |
set(int x,
int y,
DataCell cell)
Sets the value at a particular coordinate |
void |
set(int x,
int y,
MemberCell value)
Sets the value at a particular coordinate |
void |
setOffset(int offset)
Set the header/row data offset. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Matrix()
public Matrix(int width, int height)
width
- Width of matrixheight
- Height of matrixMethod Detail |
---|
public void set(int x, int y, DataCell cell)
x
- X coordinatey
- Y coordinatevalue
- Valueright
- Whether value is right-justifiedsameAsPrev
- Whether value is the same as the previous value. If true, some formats separators between cellspublic void set(int x, int y, MemberCell value)
x
- X coordinatey
- Y coordinatevalue
- Valueright
- Whether value is right-justifiedsameAsPrev
- Whether value is the same as the previous value. If true, some formats separators between cellspublic AbstractBaseCell get(int x, int y)
x
- X coordinatey
- Y coordinate
public int getMatrixWidth()
public int getMatrixHeight()
public Map<List<Integer>,AbstractBaseCell> getMap()
public void setOffset(int offset)
offset
- public int getOffset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |