Title: SortedMap and SortedSet interfaces
Course: CPS 189: Java Certification - Review, Practice & Prepare (Development) > Section: (OLDstyle) Learning Modules

SortedMap and SortedSet interfaces

A sorted map is a map that keeps its entries in ascending order.

A sorted set is a set that keeps its elements in ascending order.

The SortedMap and SortedSet interfaces provide methods for:

- Performing operations on a map subset.
- Returning the first and last map keys.

For more information, see:

- The SortedMap Interface
- The SortedSet Interface
- Level 1 Study Materials: Unit 2
- Level 1 Study Materials: Unit 10