public function max()
    {
        if (!$this->isValidNumericSet()) {
            throw new \RuntimeException('max: all values must be numeric');
        }
        if (empty($this->value)) {
            return null;
        }

        return max($this->value);
    }
public function max()
    {
        if (!$this->isValidNumericSet()) {
            throw new \RuntimeException('max: all values must be numeric');
        }
        if (empty($this->value)) {
            return null;
        }

        return max($this->value);
    }
public function max ( ) { if ( ! $ this -> isValidNumericSet ( ) ) { throw new \ RuntimeException ( 'max: all values must be numeric' ) ; } if ( empty ( $ this -> value ) ) { return null ; } return max ( $ this -> value ) ; }
Numeric maximum value in this Set.

@throws \RuntimeException if this Set contains non-numeric members.

@return mixed
Numeric maximum value in this Set .