|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmondrian.rolap.Modulos.Base
mondrian.rolap.Modulos.Three
public static class Modulos.Three
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface mondrian.rolap.Modulos |
---|
Modulos.Base, Modulos.Generator, Modulos.Many, Modulos.One, Modulos.Three, Modulos.Two, Modulos.Zero |
Field Summary |
---|
Fields inherited from class mondrian.rolap.Modulos.Base |
---|
modulos |
Method Summary | |
---|---|
int |
getCellOrdinal(int[] pos)
Converts a set of cell coordinates to a cell ordinal. |
int[] |
getCellPos(int cellOrdinal)
Converts a cell ordinal to a set of cell coordinates. |
Methods inherited from class mondrian.rolap.Modulos.Base |
---|
toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public final int[] getCellPos(int cellOrdinal)
Modulos
Modulos.getCellOrdinal(int[])
. For example, if this result is 10 x 10 x 10,
then cell ordinal 537 has coordinates (5, 3, 7).
getCellPos
in interface Modulos
getCellPos
in class Modulos.Base
cellOrdinal
- Cell ordinal
public final int getCellOrdinal(int[] pos)
Modulos
Modulos.getCellPos(int)
.
getCellOrdinal
in interface Modulos
getCellOrdinal
in class Modulos.Base
pos
- Cell coordinates
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |