@Test public void getValueOnFixedDecimalIndicator() { fixedDecimalIndicator = new FixedDecimalIndicator(13.37, 42, -17); assertDecimalEquals(fixedDecimalIndicator.getValue(0), 13.37); assertDecimalEquals(fixedDecimalIndicator.getValue(1), 42); assertDecimalEquals(fixedDecimalIndicator.getValue(2), -17); fixedDecimalIndicator = new FixedDecimalIndicator("3.0", "-123.456", "0"); assertDecimalEquals(fixedDecimalIndicator.getValue(0), "3"); assertDecimalEquals(fixedDecimalIndicator.getValue(1), "-123.456"); assertDecimalEquals(fixedDecimalIndicator.getValue(2), "0.0"); }
@Override public T getValue(int index) { return values.get(index); }
FixedIndicator extends AbstractIndicator<T> { @Override public T getValue(int index) { return values.get(index); } }
FixedIndicator extends AbstractIndicator<T> { @Override public T getValue(int index) { return values.get(index); } FixedIndicator(T... values); }
FixedIndicator extends AbstractIndicator<T> { @Override public T getValue(int index) { return values.get(index); } FixedIndicator(T... values); void addValue(T value); @Override T getValue(int index); }
FixedIndicator extends AbstractIndicator<T> { @Override public T getValue(int index) { return values.get(index); } FixedIndicator(T... values); void addValue(T value); @Override T getValue(int index);  }