last

open override fun last(): E?

Returns the last (highest) element currently in this set.

Return

the last (highest) element currently in this set

Throws

if this set is empty