Uses of Class
com.google.common.collect.ImmutableSortedSet
Packages that use ImmutableSortedSet
Package
Description
Collection interfaces and implementations, and other utilities for collections.
Testing utilities.
-
Uses of ImmutableSortedSet in com.google.common.collect
Subclasses of ImmutableSortedSet in com.google.common.collectModifier and TypeClassDescriptionclassContiguousSet<C extends Comparable>A sorted set of contiguous values in a givenDiscreteDomain.(package private) final classSkeletal implementation ofdescendingSet().(package private) final classEmptyContiguousSet<C extends Comparable>An empty contiguous set.private final class(package private) final classRegularContiguousSet<C extends Comparable>An implementation ofContiguousSetthat contains one or more elements.(package private) final classAn immutable sorted set with one or more elements.Fields in com.google.common.collect declared as ImmutableSortedSetModifier and TypeFieldDescription(package private) ImmutableSortedSet<E>ImmutableSortedSet.descendingSetprivate final ImmutableSortedSet<E>DescendingImmutableSortedSet.forwardMethods in com.google.common.collect that return ImmutableSortedSetModifier and TypeMethodDescriptionImmutableRangeSet.asSet(DiscreteDomain<C> domain) Returns anImmutableSortedSetcontaining the same values in the given domain contained by this range set.ImmutableSortedSet.Builder.build()Returns a newly-createdImmutableSortedSetbased on the contents of theBuilderand its comparator.(package private) static <E> ImmutableSortedSet<E>ImmutableSortedSet.construct(Comparator<? super E> comparator, int n, E... contents) Constructs anImmutableSortedSetfrom the firstnelements ofcontents.static <E extends Comparable<? super E>>
ImmutableSortedSet<E>ImmutableSortedSet.copyOf(E[] elements) Returns an immutable sorted set containing the given elements sorted by their natural ordering.static <E> ImmutableSortedSet<E>Returns an immutable sorted set containing the given elements sorted by their natural ordering.static <E> ImmutableSortedSet<E>ImmutableSortedSet.copyOf(Collection<? extends E> elements) Returns an immutable sorted set containing the given elements sorted by their natural ordering.static <E> ImmutableSortedSet<E>ImmutableSortedSet.copyOf(Comparator<? super E> comparator, Iterable<? extends E> elements) Returns an immutable sorted set containing the given elements sorted by the givenComparator.static <E> ImmutableSortedSet<E>ImmutableSortedSet.copyOf(Comparator<? super E> comparator, Collection<? extends E> elements) Returns an immutable sorted set containing the given elements sorted by the givenComparator.static <E> ImmutableSortedSet<E>ImmutableSortedSet.copyOf(Comparator<? super E> comparator, Iterator<? extends E> elements) Returns an immutable sorted set containing the given elements sorted by the givenComparator.static <E> ImmutableSortedSet<E>Returns an immutable sorted set containing the given elements sorted by their natural ordering.static <E> ImmutableSortedSet<E>ImmutableSortedSetFauxverideShim.copyOf(E[] elements) Deprecated.static <E> ImmutableSortedSet<E>ImmutableSortedSet.copyOfSorted(SortedSet<E> sortedSet) Returns an immutable sorted set containing the elements of a sorted set, sorted by the sameComparator.(package private) ImmutableSortedSet<C>ContiguousSet.createDescendingSet()(package private) ImmutableSortedSet<E>DescendingImmutableSortedSet.createDescendingSet()(package private) ImmutableSortedSet<C>EmptyContiguousSet.createDescendingSet()(package private) ImmutableSortedSet<C>ImmutableRangeSet.AsSet.createDescendingSet()(package private) abstract ImmutableSortedSet<E>ImmutableSortedSet.createDescendingSet()(package private) ImmutableSortedSet<E>RegularImmutableSortedSet.createDescendingSet()(package private) ImmutableSortedSet<E>ImmutableSortedAsList.delegateCollection()ImmutableSortedMap.descendingKeySet()DescendingImmutableSortedSet.descendingSet()ImmutableSortedSet.descendingSet()DescendingImmutableSortedMultiset.elementSet()abstract ImmutableSortedSet<E>ImmutableSortedMultiset.elementSet()RegularImmutableSortedMultiset.elementSet()(package private) ImmutableSortedSet<E>DescendingImmutableSortedSet.headSetImpl(E toElement, boolean inclusive) (package private) ImmutableSortedSet<C>ImmutableRangeSet.AsSet.headSetImpl(C toElement, boolean inclusive) (package private) abstract ImmutableSortedSet<E>ImmutableSortedSet.headSetImpl(E toElement, boolean inclusive) (package private) ImmutableSortedSet<E>RegularImmutableSortedSet.headSetImpl(E toElement, boolean inclusive) ImmutableSortedMap.keySet()Returns an immutable sorted set of the keys in this map.ImmutableSortedMap.navigableKeySet()static <E> ImmutableSortedSet<E>ImmutableSortedSet.of()Returns the empty immutable sorted set.static <E extends Comparable<? super E>>
ImmutableSortedSet<E>ImmutableSortedSet.of(E element) Returns an immutable sorted set containing a single element.static <E extends Comparable<? super E>>
ImmutableSortedSet<E>ImmutableSortedSet.of(E e1, E e2) Returns an immutable sorted set containing the given elements sorted by their natural ordering.static <E extends Comparable<? super E>>
ImmutableSortedSet<E>ImmutableSortedSet.of(E e1, E e2, E e3) Returns an immutable sorted set containing the given elements sorted by their natural ordering.static <E extends Comparable<? super E>>
ImmutableSortedSet<E>ImmutableSortedSet.of(E e1, E e2, E e3, E e4) Returns an immutable sorted set containing the given elements sorted by their natural ordering.static <E extends Comparable<? super E>>
ImmutableSortedSet<E>ImmutableSortedSet.of(E e1, E e2, E e3, E e4, E e5) Returns an immutable sorted set containing the given elements sorted by their natural ordering.static <E extends Comparable<? super E>>
ImmutableSortedSet<E>ImmutableSortedSet.of(E e1, E e2, E e3, E e4, E e5, E e6, E... remaining) Returns an immutable sorted set containing the given elements sorted by their natural ordering.static <E> ImmutableSortedSet<E>ImmutableSortedSetFauxverideShim.of(E element) Deprecated.Pass a parameter of typeComparableto useof(Comparable).static <E> ImmutableSortedSet<E>ImmutableSortedSetFauxverideShim.of(E e1, E e2) Deprecated.Pass the parameters of typeComparableto useof(Comparable, Comparable).static <E> ImmutableSortedSet<E>ImmutableSortedSetFauxverideShim.of(E e1, E e2, E e3) Deprecated.Pass the parameters of typeComparableto useof(Comparable, Comparable, Comparable).static <E> ImmutableSortedSet<E>ImmutableSortedSetFauxverideShim.of(E e1, E e2, E e3, E e4) Deprecated.Pass the parameters of typeComparableto useof(Comparable, Comparable, Comparable, Comparable).static <E> ImmutableSortedSet<E>ImmutableSortedSetFauxverideShim.of(E e1, E e2, E e3, E e4, E e5) Deprecated.Pass the parameters of typeComparableto useof(Comparable, Comparable, Comparable, Comparable, Comparable).static <E> ImmutableSortedSet<E>ImmutableSortedSetFauxverideShim.of(E e1, E e2, E e3, E e4, E e5, E e6, E... remaining) Deprecated.Pass the parameters of typeComparableto useof(Comparable, Comparable, Comparable, Comparable, Comparable, Comparable, Comparable...).(package private) ImmutableSortedSet<C>(package private) ImmutableSortedSet<E>DescendingImmutableSortedSet.subSetImpl(E fromElement, boolean fromInclusive, E toElement, boolean toInclusive) (package private) ImmutableSortedSet<C>ImmutableRangeSet.AsSet.subSetImpl(C fromElement, boolean fromInclusive, C toElement, boolean toInclusive) (package private) abstract ImmutableSortedSet<E>ImmutableSortedSet.subSetImpl(E fromElement, boolean fromInclusive, E toElement, boolean toInclusive) (package private) ImmutableSortedSet<E>RegularImmutableSortedSet.subSetImpl(E fromElement, boolean fromInclusive, E toElement, boolean toInclusive) (package private) ImmutableSortedSet<E>DescendingImmutableSortedSet.tailSetImpl(E fromElement, boolean inclusive) (package private) ImmutableSortedSet<C>ImmutableRangeSet.AsSet.tailSetImpl(C fromElement, boolean inclusive) (package private) abstract ImmutableSortedSet<E>ImmutableSortedSet.tailSetImpl(E fromElement, boolean inclusive) (package private) ImmutableSortedSet<E>RegularImmutableSortedSet.tailSetImpl(E fromElement, boolean inclusive) final ImmutableSortedSet<E>FluentIterable.toSortedSet(Comparator<? super E> comparator) Returns anImmutableSortedSetcontaining all of the elements from thisFluentIterablein the order specified bycomparator, with duplicates (determined bycomparator.compare(x, y) == 0) removed.Methods in com.google.common.collect that return types with arguments of type ImmutableSortedSetModifier and TypeMethodDescription(package private) static <E> Collector<E,?, ImmutableSortedSet<E>> CollectCollectors.toImmutableSortedSet(Comparator<? super E> comparator) static <E> Collector<E,?, ImmutableSortedSet<E>> ImmutableSortedSet.toImmutableSortedSet(Comparator<? super E> comparator) Returns aCollectorthat accumulates the input elements into a newImmutableSortedSet, ordered by the specified comparator.Constructors in com.google.common.collect with parameters of type ImmutableSortedSetModifierConstructorDescription(package private)DescendingImmutableSortedSet(ImmutableSortedSet<E> forward) (package private)ImmutableSortedAsList(ImmutableSortedSet<E> backingSet, ImmutableList<E> backingList) -
Uses of ImmutableSortedSet in com.google.common.testing
Methods in com.google.common.testing that return ImmutableSortedSetModifier and TypeMethodDescription(package private) static <E extends Comparable<? super E>>
ImmutableSortedSet<E>FreshValueGenerator.generateImmutableSortedSet(E freshElement)
Comparableto usecopyOf(Comparable[]).