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
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.abstract ContiguousSet<C>
ContiguousSet.intersection
(ContiguousSet<C> other) Returns the set of values that are contained in both this set and the other.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.