/** * Construct a new JEXLMap which can evaluate expressions against a specific genotype and variant context * @param jexlCollection collection of expressions to be evaluated * @param vc VariantContext to evaluate expressions against * @param g genotype to evaluate expressions against, may be null * @param howToTreatMissingValues how missing values in vc and g should be treated */ public JEXLMap(final Collection<JexlVCMatchExp> jexlCollection, final VariantContext vc, final Genotype g, final JexlMissingValueTreatment howToTreatMissingValues) { this.jexl = initializeMap(jexlCollection); this.vc = vc; this.g = g; this.howToTreatMissingValues = howToTreatMissingValues; }
/** * Construct a new JEXLMap which can evaluate expressions against a specific genotype and variant context * @param jexlCollection collection of expressions to be evaluated * @param vc VariantContext to evaluate expressions against * @param g genotype to evaluate expressions against, may be null * @param howToTreatMissingValues how missing values in vc and g should be treated */ public JEXLMap(final Collection<JexlVCMatchExp> jexlCollection, final VariantContext vc, final Genotype g, final JexlMissingValueTreatment howToTreatMissingValues) { this.jexl = initializeMap(jexlCollection); this.vc = vc; this.g = g; this.howToTreatMissingValues = howToTreatMissingValues; }