Java Reference
In-Depth Information
and
max
to return the smallest and largest element in a
Collection
.
Comparing strings ignoring case is a common requirement, so the
String
class defines a
Comparator
object for this purpose, available from the field
String.CASE_INSENSITIVE_ORDER
.