class SimpleXYSeries implements EditableXYSeries, OrderedXYSeries, PlotListener {

    public XYCoords removeFirst() {
        lock.writeLock().lock();
        try {
            if (size() <= 0) {
                throw new NoSuchElementException();
            }
            return new XYCoords(xVals != null ? xVals.removeFirst() : 0, yVals.removeFirst());
        } finally {
            lock.writeLock().unlock();
        }
    }

    public  SimpleXYSeries(String title);
    public  SimpleXYSeries(ArrayFormat format, String title, Number... model);
    public  SimpleXYSeries(List<? extends Number> model, ArrayFormat format, String title);
    public  SimpleXYSeries(List<? extends Number> xVals, List<? extends Number> yVals, String title);

}