package org.singinst.uf.presenter; import java.util.List; import org.singinst.uf.math.SimplePoint; public class ScalarValuePointList { private List hypothesisPoints; private final SimpleStyle style; public ScalarValuePointList() { this(null); } public ScalarValuePointList(SimpleStyle style) { this.style = style; } public void setHypothesisPoints(List hypothesisPoints) { this.hypothesisPoints = hypothesisPoints; } public void draw(GraphCanvas canvas) { canvas.pushStyle(style); canvas.drawCurve(getHypothesisPoints()); canvas.popStyle(); } public List getHypothesisPoints() { return hypothesisPoints; } public Runnable updater() { throw new UnsupportedOperationException(); } }