Uses of Class
com.google.common.collect.ContiguousSet
Package
Description
Collection interfaces and implementations, and other utilities for collections.
-
Uses of ContiguousSet in com.google.common.collect
Modifier 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.abstract ContiguousSet
<C> ContiguousSet.intersection
(ContiguousSet<C> other) Returns the set of values that are contained in both this set and the other.Modifier and TypeMethodDescriptionabstract ContiguousSet
<C> ContiguousSet.intersection
(ContiguousSet<C> other) Returns the set of values that are contained in both this set and the other.