NavigableSet

NavigableSet extends the SortedSet interface with methods that let you do a proximity search in the set. This essentially lets you search for an element that is in the search and is any of the following:

  • Less than the searched object
  • Less than or equal to the searched element
  • Greater than or equal to the searched object

Get Java Projects - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.