Uses of Enum Class
com.google.common.collect.BoundType
Packages that use BoundType
Package
Description
This package contains generic collection interfaces and implementations, and other utilities for
working with collections.
-
Uses of BoundType in com.google.common.collect
Methods in com.google.common.collect that return BoundTypeModifier and TypeMethodDescriptionRange.lowerBoundType()Range.upperBoundType()static BoundTypeReturns 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 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 includingupperBounditself.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 fromlowertoupper, 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 ofheadMultisetandtailMultiset.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 betweenlowerBoundandupperBound.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 includinglowerBounditself.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).