public String nextID()
    {
        lock.lock();
        try
        {
            StringBuilder output = new StringBuilder(prefix);
            output.append(source.nextID());
            return output.toString();
        }
        finally
        {
            lock.unlock();
        }
    }
public String nextID ( ) { lock . lock ( ) ; try { StringBuilder output = new StringBuilder ( prefix ) ; output . append ( source . nextID ( ) ) ; return output . toString ( ) ; } finally { lock . unlock ( ) ; } }
{@inheritDoc}