Java 类gnu.trove.map.hash.TLongFloatHashMap 实例源码

项目:fnlp    文件:SparseMatrix.java   
public SparseMatrix(){
    vector = new TLongFloatHashMap(100,0.8f);
}
项目:fnlp    文件:SparseMatrix.java   
public SparseMatrix clone(){
    SparseMatrix mat = new SparseMatrix();
    mat.dim = this.dim;
    mat.vector = new TLongFloatHashMap(vector);
    return mat;
}
项目:pre-cu    文件:AutoDeltaLongFloatMap.java   
public AutoDeltaLongFloatMap() {
    this.changes = new ArrayList<>(5);
    this.container = new TLongFloatHashMap();
    this.baselineCommandCount = 0;
}
项目:fudannlp    文件:SparseMatrix.java   
public SparseMatrix(){
    vector = new TLongFloatHashMap(100,0.8f);
}
项目:fudannlp    文件:SparseMatrix.java   
public SparseMatrix clone(){
    SparseMatrix mat = new SparseMatrix();
    mat.dim = this.dim;
    mat.vector = new TLongFloatHashMap(vector);
    return mat;
}