Class BTreeSet.BTreeDescRange<V>

  • All Implemented Interfaces:
    java.lang.Iterable<V>, java.util.Collection<V>, java.util.List<V>, java.util.NavigableSet<V>, java.util.Set<V>, java.util.SortedSet<V>
    Enclosing class:
    BTreeSet<V>

    public static class BTreeSet.BTreeDescRange<V>
    extends BTreeSet.BTreeRange<V>
    • Method Detail

      • higher

        public V higher​(V v)
        Specified by:
        higher in interface java.util.NavigableSet<V>
        Overrides:
        higher in class BTreeSet.BTreeRange<V>
      • ceiling

        public V ceiling​(V v)
        Specified by:
        ceiling in interface java.util.NavigableSet<V>
        Overrides:
        ceiling in class BTreeSet.BTreeRange<V>
      • floor

        public V floor​(V v)
        Specified by:
        floor in interface java.util.NavigableSet<V>
        Overrides:
        floor in class BTreeSet.BTreeRange<V>
      • lower

        public V lower​(V v)
        Specified by:
        lower in interface java.util.NavigableSet<V>
        Overrides:
        lower in class BTreeSet.BTreeRange<V>
      • get

        public V get​(int index)
        Description copied from class: BTreeSet
        The converse of indexOf: provided an index between 0 and size, returns the i'th item, in set order.
        Specified by:
        get in interface java.util.List<V>
        Overrides:
        get in class BTreeSet.BTreeRange<V>
      • indexOf

        public int indexOf​(java.lang.Object item)
        Description copied from class: BTreeSet
        The index of the item within the list, or its insertion point otherwise. i.e. binarySearch semantics
        Specified by:
        indexOf in interface java.util.List<V>
        Overrides:
        indexOf in class BTreeSet.BTreeRange<V>
      • subSet

        public BTreeSet<V> subSet​(V fromElement,
                                  boolean fromInclusive,
                                  V toElement,
                                  boolean toInclusive)
        Specified by:
        subSet in interface java.util.NavigableSet<V>
        Overrides:
        subSet in class BTreeSet.BTreeRange<V>
      • headSet

        public BTreeSet<V> headSet​(V toElement,
                                   boolean inclusive)
        Specified by:
        headSet in interface java.util.NavigableSet<V>
        Overrides:
        headSet in class BTreeSet.BTreeRange<V>
      • tailSet

        public BTreeSet<V> tailSet​(V fromElement,
                                   boolean inclusive)
        Specified by:
        tailSet in interface java.util.NavigableSet<V>
        Overrides:
        tailSet in class BTreeSet.BTreeRange<V>
      • comparator

        public java.util.Comparator<V> comparator()
        Specified by:
        comparator in interface java.util.SortedSet<V>
        Overrides:
        comparator in class BTreeSet<V>