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 allintvalues fromlower(inclusive) toupper(inclusive).static ContiguousSet<Long>ContiguousSet.closed(long lower, long upper) Returns a nonempty contiguous set containing alllongvalues fromlower(inclusive) toupper(inclusive).static ContiguousSet<Integer>ContiguousSet.closedOpen(int lower, int upper) Returns a contiguous set containing allintvalues fromlower(inclusive) toupper(exclusive).static ContiguousSet<Long>ContiguousSet.closedOpen(long lower, long upper) Returns a contiguous set containing alllongvalues fromlower(inclusive) toupper(exclusive).static <C extends Comparable>
ContiguousSet<C>ContiguousSet.create(Range<C> range, DiscreteDomain<C> domain) Returns aContiguousSetcontaining 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.