public T getMaximum() {
        Lock lock = this.lock.readLock();
        lock.lock();
        try {
            return this.maximum;
        } finally {
            lock.unlock();
        }
    }
public T getMaximum ( ) { Lock lock = this . lock . readLock ( ) ; lock . lock ( ) ; try { return this . maximum ; } finally { lock . unlock ( ) ; } }
Get the maximum value in the series.

@return the maximum value, or 0.0 if the {@link #getCount() count} is 0