Uses of Class
com.google.common.collect.ContiguousSet
Packages that use ContiguousSet
Package
Description
This package contains generic collection interfaces and implementations, and other utilities for
working with collections.
-
Uses of ContiguousSet in com.google.common.collect
Subclasses of ContiguousSet in com.google.common.collectModifier and TypeClassDescription(package private) final class
EmptyContiguousSet<C extends Comparable>
An empty contiguous set.(package private) final class
RegularContiguousSet<C extends Comparable>
An implementation ofContiguousSet
that contains one or more elements.Methods in com.google.common.collect that return ContiguousSetModifier and TypeMethodDescriptionstatic ContiguousSet<Integer>
ContiguousSet.closed
(int lower, int upper) Returns a nonempty contiguous set containing allint
values fromlower
(inclusive) toupper
(inclusive).static ContiguousSet<Long>
ContiguousSet.closed
(long lower, long upper) Returns a nonempty contiguous set containing alllong
values fromlower
(inclusive) toupper
(inclusive).static ContiguousSet<Integer>
ContiguousSet.closedOpen
(int lower, int upper) Returns a contiguous set containing allint
values fromlower
(inclusive) toupper
(exclusive).static ContiguousSet<Long>
ContiguousSet.closedOpen
(long lower, long upper) Returns a contiguous set containing alllong
values fromlower
(inclusive) toupper
(exclusive).static <C extends Comparable>
ContiguousSet<C>ContiguousSet.create
(Range<C> range, DiscreteDomain<C> domain) Returns aContiguousSet
containing the same values in the given domain contained by the range.(package private) abstract ContiguousSet<C>
ContiguousSet.headSetImpl
(C toElement, boolean inclusive) (package private) ContiguousSet<C>
EmptyContiguousSet.headSetImpl
(C toElement, boolean inclusive) (package private) ContiguousSet<C>
RegularContiguousSet.headSetImpl
(C toElement, boolean inclusive) abstract ContiguousSet<C>
ContiguousSet.intersection
(ContiguousSet<C> other) Returns the set of values that are contained in both this set and the other.EmptyContiguousSet.intersection
(ContiguousSet<C> other) RegularContiguousSet.intersection
(ContiguousSet<C> other) private ContiguousSet<C>
RegularContiguousSet.intersectionInCurrentDomain
(Range<C> other) (package private) abstract ContiguousSet<C>
ContiguousSet.subSetImpl
(C fromElement, boolean fromInclusive, C toElement, boolean toInclusive) (package private) ContiguousSet<C>
EmptyContiguousSet.subSetImpl
(C fromElement, boolean fromInclusive, C toElement, boolean toInclusive) (package private) ContiguousSet<C>
RegularContiguousSet.subSetImpl
(C fromElement, boolean fromInclusive, C toElement, boolean toInclusive) (package private) abstract ContiguousSet<C>
ContiguousSet.tailSetImpl
(C fromElement, boolean inclusive) (package private) ContiguousSet<C>
EmptyContiguousSet.tailSetImpl
(C fromElement, boolean fromInclusive) (package private) ContiguousSet<C>
RegularContiguousSet.tailSetImpl
(C fromElement, boolean inclusive) Methods in com.google.common.collect with parameters of type ContiguousSetModifier and TypeMethodDescriptionabstract ContiguousSet<C>
ContiguousSet.intersection
(ContiguousSet<C> other) Returns the set of values that are contained in both this set and the other.EmptyContiguousSet.intersection
(ContiguousSet<C> other) RegularContiguousSet.intersection
(ContiguousSet<C> other) -
Uses of ContiguousSet in com.google.common.collect.testing.google
Methods in com.google.common.collect.testing.google that return ContiguousSetModifier and TypeMethodDescriptionprotected final ContiguousSet<Integer>
SetGenerators.AbstractContiguousSetGenerator.checkedCreate
(SortedSet<Integer> elementsSet)