Class Sortrows
- java.lang.Object
-
- org.ujmp.core.calculation.AbstractCalculation
-
- org.ujmp.core.objectmatrix.calculation.AbstractObjectCalculation
-
- org.ujmp.core.objectmatrix.calculation.Sortrows
-
- All Implemented Interfaces:
java.io.Serializable
,Calculation
,ObjectCalculation
public class Sortrows extends AbstractObjectCalculation
Sorts the rows of a matrix- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ujmp.core.calculation.Calculation
Calculation.Ret
-
-
Field Summary
Fields Modifier and Type Field Description private long
column
private LongMatrix2D
index
private boolean
reverse
private static long
serialVersionUID
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
createSortIndex()
LongMatrix2D
getIndex()
java.lang.Object
getObject(long... coordinates)
-
Methods inherited from class org.ujmp.core.objectmatrix.calculation.AbstractObjectCalculation
calcLink, calcNew, calcOrig, getValueType, setObject
-
Methods inherited from class org.ujmp.core.calculation.AbstractCalculation
availableCoordinates, calc, containsCoordinates, getColumnCount, getDimension, getMetaData, getRowCount, getSize, 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
availableCoordinates, calc, containsCoordinates, getColumnCount, getDimension, getMetaData, getRowCount, getSize, getSource, getSources, setMetaData
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
index
private LongMatrix2D index
-
column
private long column
-
reverse
private boolean reverse
-
-
Constructor Detail
-
Sortrows
public Sortrows(Matrix m, long column, boolean reverse)
-
-
Method Detail
-
getObject
public java.lang.Object getObject(long... coordinates)
-
createSortIndex
private void createSortIndex()
-
getIndex
public LongMatrix2D getIndex()
-
-