Uses of Enum Class
com.google.common.collect.BoundType
Packages that use BoundType
Package
Description
Collection interfaces and implementations, and other utilities for collections.
-
Uses of BoundType in com.google.common.collect
Fields in com.google.common.collect declared as BoundTypeModifier and TypeFieldDescriptionprivate final BoundType
GeneralRange.lowerBoundType
private final BoundType
GeneralRange.upperBoundType
Methods in com.google.common.collect that return BoundTypeModifier and TypeMethodDescription(package private) static BoundType
BoundType.forBoolean
(boolean inclusive) Returns the bound type corresponding to a boolean value for inclusivity.(package private) BoundType
GeneralRange.getLowerBoundType()
(package private) BoundType
GeneralRange.getUpperBoundType()
Range.lowerBoundType()
(package private) BoundType
Cut.AboveAll.typeAsLowerBound()
(package private) BoundType
Cut.AboveValue.typeAsLowerBound()
(package private) BoundType
Cut.BelowAll.typeAsLowerBound()
(package private) BoundType
Cut.BelowValue.typeAsLowerBound()
(package private) abstract BoundType
Cut.typeAsLowerBound()
(package private) BoundType
Cut.AboveAll.typeAsUpperBound()
(package private) BoundType
Cut.AboveValue.typeAsUpperBound()
(package private) BoundType
Cut.BelowAll.typeAsUpperBound()
(package private) BoundType
Cut.BelowValue.typeAsUpperBound()
(package private) abstract BoundType
Cut.typeAsUpperBound()
Range.upperBoundType()
static BoundType
Returns the enum constant of this class with the specified name.static BoundType[]
BoundType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.google.common.collect with parameters of type BoundTypeModifier and TypeMethodDescription(package private) static <T> GeneralRange
<T> GeneralRange.downTo
(Comparator<? super T> comparator, T endpoint, BoundType boundType) Returns everything above the endpoint relative to the specified comparator, with the specified endpoint behavior.static <C extends Comparable<?>>
Range<C> Returns a range from the given endpoint, which may be either inclusive (closed) or exclusive (open), with no upper bound.DescendingImmutableSortedMultiset.headMultiset
(E upperBound, BoundType boundType) DescendingMultiset.headMultiset
(E toElement, BoundType boundType) ForwardingSortedMultiset.headMultiset
(E upperBound, BoundType boundType) abstract ImmutableSortedMultiset
<E> ImmutableSortedMultiset.headMultiset
(E upperBound, BoundType boundType) RegularImmutableSortedMultiset.headMultiset
(E upperBound, BoundType boundType) SortedMultiset.headMultiset
(E upperBound, BoundType boundType) Returns a view of this multiset restricted to the elements less thanupperBound
, optionally includingupperBound
itself.TreeMultiset.headMultiset
(E upperBound, BoundType boundType) UnmodifiableSortedMultiset.headMultiset
(E upperBound, BoundType boundType) Returns the minimal range with the given boundary types for which all values in this set are contained within the range.(package private) static <T> GeneralRange
<T> GeneralRange.range
(Comparator<? super T> comparator, T lower, BoundType lowerType, T upper, BoundType upperType) Returns everything between the endpoints relative to the specified comparator, with the specified endpoint behavior.static <C extends Comparable<?>>
Range<C> Returns a range that contains any value fromlower
toupper
, where each endpoint may be either inclusive (closed) or exclusive (open).protected SortedMultiset
<E> ForwardingSortedMultiset.standardSubMultiset
(E lowerBound, BoundType lowerBoundType, E upperBound, BoundType upperBoundType) A sensible definition ofForwardingSortedMultiset.subMultiset(Object, BoundType, Object, BoundType)
in terms ofheadMultiset
andtailMultiset
.AbstractSortedMultiset.subMultiset
(E fromElement, BoundType fromBoundType, E toElement, BoundType toBoundType) DescendingMultiset.subMultiset
(E fromElement, BoundType fromBoundType, E toElement, BoundType toBoundType) ForwardingSortedMultiset.subMultiset
(E lowerBound, BoundType lowerBoundType, E upperBound, BoundType upperBoundType) ImmutableSortedMultiset.subMultiset
(E lowerBound, BoundType lowerBoundType, E upperBound, BoundType upperBoundType) SortedMultiset.subMultiset
(E lowerBound, BoundType lowerBoundType, E upperBound, BoundType upperBoundType) Returns a view of this multiset restricted to the range betweenlowerBound
andupperBound
.UnmodifiableSortedMultiset.subMultiset
(E lowerBound, BoundType lowerBoundType, E upperBound, BoundType upperBoundType) DescendingImmutableSortedMultiset.tailMultiset
(E lowerBound, BoundType boundType) DescendingMultiset.tailMultiset
(E fromElement, BoundType boundType) ForwardingSortedMultiset.tailMultiset
(E lowerBound, BoundType boundType) abstract ImmutableSortedMultiset
<E> ImmutableSortedMultiset.tailMultiset
(E lowerBound, BoundType boundType) RegularImmutableSortedMultiset.tailMultiset
(E lowerBound, BoundType boundType) SortedMultiset.tailMultiset
(E lowerBound, BoundType boundType) Returns a view of this multiset restricted to the elements greater thanlowerBound
, optionally includinglowerBound
itself.TreeMultiset.tailMultiset
(E lowerBound, BoundType boundType) UnmodifiableSortedMultiset.tailMultiset
(E lowerBound, BoundType boundType) (package private) static <T> GeneralRange
<T> GeneralRange.upTo
(Comparator<? super T> comparator, T endpoint, BoundType boundType) Returns everything below the endpoint relative to the specified comparator, with the specified endpoint behavior.static <C extends Comparable<?>>
Range<C> Returns a range with no lower bound up to the given endpoint, which may be either inclusive (closed) or exclusive (open).(package private) Cut
<Comparable<?>> Cut.AboveAll.withLowerBoundType
(BoundType boundType, DiscreteDomain<Comparable<?>> domain) Cut.AboveValue.withLowerBoundType
(BoundType boundType, DiscreteDomain<C> domain) (package private) Cut
<Comparable<?>> Cut.BelowAll.withLowerBoundType
(BoundType boundType, DiscreteDomain<Comparable<?>> domain) Cut.BelowValue.withLowerBoundType
(BoundType boundType, DiscreteDomain<C> domain) Cut.withLowerBoundType
(BoundType boundType, DiscreteDomain<C> domain) (package private) Cut
<Comparable<?>> Cut.AboveAll.withUpperBoundType
(BoundType boundType, DiscreteDomain<Comparable<?>> domain) Cut.AboveValue.withUpperBoundType
(BoundType boundType, DiscreteDomain<C> domain) (package private) Cut
<Comparable<?>> Cut.BelowAll.withUpperBoundType
(BoundType boundType, DiscreteDomain<Comparable<?>> domain) Cut.BelowValue.withUpperBoundType
(BoundType boundType, DiscreteDomain<C> domain) Cut.withUpperBoundType
(BoundType boundType, DiscreteDomain<C> domain) Constructors in com.google.common.collect with parameters of type BoundTypeModifierConstructorDescriptionprivate
GeneralRange
(Comparator<? super T> comparator, boolean hasLowerBound, T lowerEndpoint, BoundType lowerBoundType, boolean hasUpperBound, T upperEndpoint, BoundType upperBoundType)