@Test public void constantIndicator() { assertNumEquals("30.33", constantIndicator.getValue(0)); assertNumEquals("30.33", constantIndicator.getValue(1)); assertNumEquals("30.33", constantIndicator.getValue(10)); assertNumEquals("30.33", constantIndicator.getValue(30)); }
public ConstantIndicator(BarSeries series, T t) { super(series); this.value = t; }
ConstantIndicator extends AbstractIndicator<T> { public ConstantIndicator(BarSeries series, T t) { super(series); this.value = t; } }
ConstantIndicator extends AbstractIndicator<T> { public ConstantIndicator(BarSeries series, T t) { super(series); this.value = t; } ConstantIndicator(BarSeries series, T t); }
ConstantIndicator extends AbstractIndicator<T> { public ConstantIndicator(BarSeries series, T t) { super(series); this.value = t; } ConstantIndicator(BarSeries series, T t); @Override T getValue(int index); @Override String toString(); }
ConstantIndicator extends AbstractIndicator<T> { public ConstantIndicator(BarSeries series, T t) { super(series); this.value = t; } ConstantIndicator(BarSeries series, T t); @Override T getValue(int index); @Override String toString();  }