GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Index
  • Help
  • Frames
  • No Frames
  • All Classes
  • NavigableSet
  • TreeSet

This view

  • Original page
  • New address

GeezerVison is showing docs.oracle.com — Uses of Interface java.util.SortedSet (Java Platform SE 8 )

Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help
Java™ Platform
Standard Ed. 8
  • Prev
  • Next
  • Frames
  • No Frames
  • All Classes

Uses of Interface
java.util.SortedSet

  • Packages that use SortedSet 
    Package Description
    java.util
    Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array).
    java.util.concurrent
    Utility classes commonly useful in concurrent programming.
    • Uses of SortedSet in java.util

      Subinterfaces of SortedSet in java.util 
      Modifier and Type Interface Description
      interface  NavigableSet<E>
      A SortedSet extended with navigation methods reporting closest matches for given search targets.
      Classes in java.util that implement SortedSet 
      Modifier and Type Class Description
      class  TreeSet<E>
      A NavigableSet implementation based on a TreeMap.
      Methods in java.util that return SortedSet 
      Modifier and Type Method Description
      static <E> SortedSet<E> Collections.checkedSortedSet(SortedSet<E> s, Class<E> type)
      Returns a dynamically typesafe view of the specified sorted set.
      static <E> SortedSet<E> Collections.emptySortedSet()
      Returns an empty sorted set (immutable).
      SortedSet<E> TreeSet.headSet(E toElement) 
      SortedSet<E> NavigableSet.headSet(E toElement)
      Returns a view of the portion of this set whose elements are strictly less than toElement.
      SortedSet<E> SortedSet.headSet(E toElement)
      Returns a view of the portion of this set whose elements are strictly less than toElement.
      SortedSet<E> TreeSet.subSet(E fromElement, E toElement) 
      SortedSet<E> NavigableSet.subSet(E fromElement, E toElement)
      Returns a view of the portion of this set whose elements range from fromElement, inclusive, to toElement, exclusive.
      SortedSet<E> SortedSet.subSet(E fromElement, E toElement)
      Returns a view of the portion of this set whose elements range from fromElement, inclusive, to toElement, exclusive.
      static <T> SortedSet<T> Collections.synchronizedSortedSet(SortedSet<T> s)
      Returns a synchronized (thread-safe) sorted set backed by the specified sorted set.
      SortedSet<E> TreeSet.tailSet(E fromElement) 
      SortedSet<E> NavigableSet.tailSet(E fromElement)
      Returns a view of the portion of this set whose elements are greater than or equal to fromElement.
      SortedSet<E> SortedSet.tailSet(E fromElement)
      Returns a view of the portion of this set whose elements are greater than or equal to fromElement.
      static <T> SortedSet<T> Collections.unmodifiableSortedSet(SortedSet<T> s)
      Returns an unmodifiable view of the specified sorted set.
      Methods in java.util with parameters of type SortedSet 
      Modifier and Type Method Description
      static <E> SortedSet<E> Collections.checkedSortedSet(SortedSet<E> s, Class<E> type)
      Returns a dynamically typesafe view of the specified sorted set.
      static <T> SortedSet<T> Collections.synchronizedSortedSet(SortedSet<T> s)
      Returns a synchronized (thread-safe) sorted set backed by the specified sorted set.
      static <T> SortedSet<T> Collections.unmodifiableSortedSet(SortedSet<T> s)
      Returns an unmodifiable view of the specified sorted set.
      Constructors in java.util with parameters of type SortedSet 
      Constructor Description
      PriorityQueue(SortedSet<? extends E> c)
      Creates a PriorityQueue containing the elements in the specified sorted set.
      TreeSet(SortedSet<E> s)
      Constructs a new tree set containing the same elements and using the same ordering as the specified sorted set.
    • Uses of SortedSet in java.util.concurrent

      Classes in java.util.concurrent that implement SortedSet 
      Modifier and Type Class Description
      class  ConcurrentSkipListSet<E>
      A scalable concurrent NavigableSet implementation based on a ConcurrentSkipListMap.
      Constructors in java.util.concurrent with parameters of type SortedSet 
      Constructor Description
      ConcurrentSkipListSet(SortedSet<E> s)
      Constructs a new set containing the same elements and using the same ordering as the specified sorted set.
Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help
Java™ Platform
Standard Ed. 8
  • Prev
  • Next
  • Frames
  • No Frames
  • All Classes

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.