package edu.mssm.pharm.maayanlab.Enrichr;

import java.util.HashMap;
import java.util.Set;

public class FuzzyTerm extends Term {

	private HashMap<String, Double> geneSet;
	
	public FuzzyTerm(String name) {
		super(name);
	}
	
	public FuzzyTerm(String name, HashMap<String, Double> geneSet) {
		super(name);
		setGeneSet(geneSet);
	}
	
	public HashMap<String, Double> getWeightedGeneSet() {
		return geneSet;
	}
	
	@Override
	public Set<String> getGeneSet() {
		return geneSet.keySet();
	}
	
	public void setGeneSet(HashMap<String, Double> geneSet) {
		this.geneSet = geneSet;
		this.numOfTermGenes = geneSet.size();
	}
}

@@ -55,20 +55,16 @@
 va.util.
-Hash
 Map;%0D%0Aim
@@ -136,20 +136,16 @@
 private 
-Hash
 Map%3CStri
@@ -257,20 +257,16 @@
 g name, 
-Hash
 Map%3CStri
@@ -344,20 +344,16 @@
 %09public 
-Hash
 Map%3CStri
@@ -525,12 +525,8 @@
 Set(
-Hash
 Map%3C

Generalize HashMap to Map