Interface UnmodSortedSet<E>

    • Method Detail

      • headSet

        default UnmodSortedSet<E> headSet​(E toElement)
        Specified by:
        headSet in interface java.util.SortedSet<E>
      • iterator

        UnmodSortedIterator<E> iterator()
        Iterates over contents in a guaranteed order. Iterates over contents with no guarantees about their ordering. An unmodifiable iterator A one-time use, mutable, not-thread-safe way to get each value of the underling collection in turn. I experimented with various thread-safe alternatives, but the JVM is optimized around iterators so this is the lowest common denominator of collection iteration, even though iterators are inherently mutable.
        Specified by:
        iterator in interface java.util.Collection<E>
        Specified by:
        iterator in interface java.lang.Iterable<E>
        Specified by:
        iterator in interface java.util.Set<E>
        Specified by:
        iterator in interface UnmodCollection<E>
        Specified by:
        iterator in interface UnmodIterable<E>
        Specified by:
        iterator in interface UnmodSet<E>
        Specified by:
        iterator in interface UnmodSortedCollection<E>
        Specified by:
        iterator in interface UnmodSortedIterable<E>
      • subSet

        UnmodSortedSet<E> subSet​(E fromElement,
                                 E toElement)
        Specified by:
        subSet in interface java.util.SortedSet<E>
      • tailSet

        UnmodSortedSet<E> tailSet​(E fromElement)
        Specified by:
        tailSet in interface java.util.SortedSet<E>