Class Transpose
- java.lang.Object
-
- org.ujmp.core.calculation.AbstractCalculation
-
- org.ujmp.core.objectmatrix.calculation.AbstractObjectCalculation
-
- org.ujmp.core.objectmatrix.calculation.Transpose
-
- All Implemented Interfaces:
java.io.Serializable
,Calculation
,ObjectCalculation
public class Transpose extends AbstractObjectCalculation
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) class
Transpose.TransposedIterator
-
Nested classes/interfaces inherited from interface org.ujmp.core.calculation.Calculation
Calculation.Ret
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Iterable<long[]>
availableCoordinates()
boolean
containsCoordinates(long... coordinates)
java.lang.Object
getObject(long... coordinates)
long[]
getSize()
long
getValueCount()
boolean
isSparse()
static MapMatrix<java.lang.String,java.lang.Object>
transposeAnnotation(MapMatrix<java.lang.String,java.lang.Object> annotation, long[] newSize)
static MapMatrix<java.lang.String,java.lang.Object>
transposeAnnotation(MapMatrix<java.lang.String,java.lang.Object> aorig, long[] newSize, int swap1, int swap2)
-
Methods inherited from class org.ujmp.core.objectmatrix.calculation.AbstractObjectCalculation
calcLink, calcNew, calcOrig, getValueType, setObject
-
Methods inherited from class org.ujmp.core.calculation.AbstractCalculation
calc, getColumnCount, getDimension, getMetaData, getRowCount, getSource, getSources, setMetaData
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.ujmp.core.calculation.Calculation
calc, getColumnCount, getDimension, getMetaData, getRowCount, getSource, getSources, setMetaData
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
swap1
private int swap1
-
swap2
private int swap2
-
size
private final long[] size
-
-
Method Detail
-
transposeAnnotation
public static MapMatrix<java.lang.String,java.lang.Object> transposeAnnotation(MapMatrix<java.lang.String,java.lang.Object> aorig, long[] newSize, int swap1, int swap2)
-
getObject
public java.lang.Object getObject(long... coordinates)
-
getSize
public long[] getSize()
- Specified by:
getSize
in interfaceCalculation
- Overrides:
getSize
in classAbstractCalculation
-
containsCoordinates
public boolean containsCoordinates(long... coordinates)
- Specified by:
containsCoordinates
in interfaceCalculation
- Overrides:
containsCoordinates
in classAbstractCalculation
-
isSparse
public boolean isSparse()
-
getValueCount
public long getValueCount()
-
availableCoordinates
public java.lang.Iterable<long[]> availableCoordinates()
- Specified by:
availableCoordinates
in interfaceCalculation
- Overrides:
availableCoordinates
in classAbstractCalculation
-
-