Class ContiguousSet<C extends Comparable>

All Implemented Interfaces:
Serializable, Iterable<C>, Collection<C>, NavigableSet<C>, SequencedCollection<C>, SequencedSet<C>, Set<C>, SortedSet<C>

@Beta @GwtCompatible(emulated=true) @Deprecated(since="2022-12-01") public abstract class ContiguousSet<C extends Comparable> extends ImmutableSortedSet<C>
Deprecated.
The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023
A sorted set of contiguous values in a given DiscreteDomain.

Warning: Be extremely careful what you do with conceptually large instances (such as ContiguousSet.create(Range.greaterThan(0), DiscreteDomain.integers()). Certain operations on such a set can be performed efficiently, but others (such as Set.hashCode() or Collections.frequency(java.util.Collection<?>, java.lang.Object)) can cause major performance problems.

Since:
10.0
See Also: