max
trait Collection[A] { def max: A }
max returns the largest value in this collection.
On empty collections this function throws a UnsupportedOperationException exception.
UnsupportedOperationException