|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object mondrian.rolap.CellKey.One
public static class CellKey.One
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface mondrian.rolap.CellKey |
---|
CellKey.Generator, CellKey.Many, CellKey.One, CellKey.Three, CellKey.Two, CellKey.Zero |
Method Summary | |
---|---|
CellKey.One |
copy()
Returns a mutable copy of this CellKey. |
boolean |
equals(Object o)
|
int |
getAxis(int axis)
Returns the axis th axis value. |
int[] |
getOrdinals()
Returns the axis keys as an array. |
int |
hashCode()
|
void |
setAxis(int axis,
int value)
Sets a given axis. |
void |
setOrdinals(int[] pos)
This method make a copy of the int array parameter. |
int |
size()
Returns the number of axes. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public int size()
CellKey
size
in interface CellKey
public int[] getOrdinals()
CellKey
Note: caller should treat the array as immutable. If the contents of the array are modified, behavior is unspecified.
getOrdinals
in interface CellKey
public void setOrdinals(int[] pos)
CellKey
setOrdinals
in interface CellKey
pos
- Array of axis keyspublic int getAxis(int axis)
CellKey
axis
th axis value.
getAxis
in interface CellKey
axis
- Axis ordinal
axis
th axispublic void setAxis(int axis, int value)
CellKey
setAxis
in interface CellKey
axis
- Axis ordinalvalue
- Valuepublic CellKey.One copy()
CellKey
copy
in interface CellKey
public boolean equals(Object o)
equals
in class Object
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |