max

abstract fun max(comparator: Comparator<in T>): Optional<T>

{@inheritDoc}