Uses of Enum
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
Methods in com.google.common.collect that return BoundTypeModifier and TypeMethodDescriptionRange.lowerBoundType()
Range.upperBoundType()
static BoundType
Returns the enum constant of this type with the specified name.static BoundType[]
BoundType.values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.google.common.collect with parameters of type BoundTypeModifier and TypeMethodDescriptionstatic <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.ForwardingSortedMultiset.headMultiset
(E upperBound, BoundType boundType) abstract ImmutableSortedMultiset
<E> ImmutableSortedMultiset.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) Returns the minimal range with the given boundary types for which all values in this set are contained within the range.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
.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
.ForwardingSortedMultiset.tailMultiset
(E lowerBound, BoundType boundType) abstract ImmutableSortedMultiset
<E> ImmutableSortedMultiset.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) 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).