{ if (renderer == null) throw new IllegalStateException(NULL_RENDERER);
try { errorIfInvalidState();
    public double getChannelCurveCoefficient(int w)    {        double result;        rwl.readLock().lock();        {            if (renderer == null)                throw new IllegalStateException(NULL_RENDERER);                        ChannelBinding[] cb = renderer.getChannelBindings();            result = cb[w].getCoefficient().doubleValue();        }        rwl.readLock().unlock();        return result;    }