Package mondrian.rolap
Class Modulos.Many
java.lang.Object
mondrian.rolap.Modulos.Base
mondrian.rolap.Modulos.Many
- All Implemented Interfaces:
Modulos
- Enclosing interface:
- Modulos
-
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
Modifier and TypeMethodDescriptionint
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
-
Method Details
-
getCellPos
public int[] getCellPos(int cellOrdinal) Description copied from interface:Modulos
Converts a cell ordinal to a set of cell coordinates. Converse ofModulos.getCellOrdinal(int[])
. For example, if this result is 10 x 10 x 10, then cell ordinal 537 has coordinates (5, 3, 7).- Specified by:
getCellPos
in interfaceModulos
- Specified by:
getCellPos
in classModulos.Base
- Parameters:
cellOrdinal
- Cell ordinal- Returns:
- cell coordinates
-
getCellOrdinal
public int getCellOrdinal(int[] pos) Description copied from interface:Modulos
Converts a set of cell coordinates to a cell ordinal. Converse ofModulos.getCellPos(int)
.- Specified by:
getCellOrdinal
in interfaceModulos
- Specified by:
getCellOrdinal
in classModulos.Base
- Parameters:
pos
- Cell coordinates- Returns:
- cell ordinal
-