Class DocTerm
- java.lang.Object
-
- org.ujmp.core.calculation.AbstractCalculation
-
- org.ujmp.core.longmatrix.calculation.AbstractLongCalculation
-
- org.ujmp.core.longmatrix.calculation.DocTerm
-
- All Implemented Interfaces:
java.io.Serializable
,Calculation
,LongCalculation
public class DocTerm extends AbstractLongCalculation
- 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 Matrix
result
private static long
serialVersionUID
private MapMatrix<java.lang.String,java.lang.Long>
wordMapping
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private Matrix
calculate()
long
getLong(long... coordinates)
long[]
getSize()
boolean
isSparse()
-
Methods inherited from class org.ujmp.core.longmatrix.calculation.AbstractLongCalculation
calcLink, calcNew, calcOrig, getValueType, setLong
-
Methods inherited from class org.ujmp.core.calculation.AbstractCalculation
availableCoordinates, calc, containsCoordinates, 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
availableCoordinates, calc, containsCoordinates, getColumnCount, getDimension, getMetaData, getRowCount, getSource, getSources, setMetaData
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
wordMapping
private MapMatrix<java.lang.String,java.lang.Long> wordMapping
-
result
private Matrix result
-
-
Constructor Detail
-
DocTerm
public DocTerm(Matrix m)
-
-
Method Detail
-
getLong
public long getLong(long... coordinates)
-
getSize
public long[] getSize()
- Specified by:
getSize
in interfaceCalculation
- Overrides:
getSize
in classAbstractCalculation
-
isSparse
public boolean isSparse()
-
calculate
private Matrix calculate()
-
-