public double getValueAt(Key key) { int i = 0; while(i < calcDescription.Count && calcDescription.ElementAt(i).startYear > key.year) { i++; } return calcDescription.ElementAt(i).getValueAt(key); }
public double getValueAt(Key key) { return this.combinator.combineInputs(this.input, key); }