class DefaultTimeSpanSet implements TimeSpanSet {

    @Override
    public String toString()
    {
        StringBuilder sb = new StringBuilder(32);
        myElementListLock.lock();
        try
        {
            sb.append("TimeSpanSet{");
            boolean isFirst = true;
            for (TimeSpan block : myElementList)
            {
                if (isFirst)
                {
                    isFirst = !isFirst;
                }
                else
                {
                    sb.append(',');
                }

                sb.append(block.toString());
            }
            sb.append('}');
        }
        finally
        {
            myElementListLock.unlock();
        }
        return sb.toString();
    }

    public  DefaultTimeSpanSet();
    public  DefaultTimeSpanSet(TimeSpan ts);
    public  DefaultTimeSpanSet(TimeSpanSet other);

}