@ Override public K lastKey ( ) { UnEntry < K , V > max = last ( ) ; if ( max == null ) { throw new NoSuchElementException ( "this map is empty" ) ; } return max . getKey ( ) ; }
Returns the last key in this map or throws a NoSuchElementException if the map is empty .