Package | Description |
---|---|
com.google.common.collect |
This package contains generic collection interfaces and implementations, and
other utilities for working with collections.
|
Modifier and Type | Method and Description |
---|---|
BoundType |
Range.lowerBoundType()
|
BoundType |
Range.upperBoundType()
|
static BoundType |
BoundType.valueOf(String name)
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.
|
Modifier and Type | Method and Description |
---|---|
static <C extends Comparable<?>> |
Range.downTo(C endpoint,
BoundType boundType)
Returns a range from the given endpoint, which may be either inclusive
(closed) or exclusive (open), with no upper bound.
|
abstract ImmutableSortedMultiset<E> |
ImmutableSortedMultiset.headMultiset(E upperBound,
BoundType boundType) |
SortedMultiset<E> |
SortedMultiset.headMultiset(E upperBound,
BoundType boundType)
Returns a view of this multiset restricted to the elements less than
upperBound , optionally including upperBound itself. |
SortedMultiset<E> |
TreeMultiset.headMultiset(E upperBound,
BoundType boundType) |
SortedMultiset<E> |
ForwardingSortedMultiset.headMultiset(E upperBound,
BoundType boundType) |
abstract Range<C> |
ContiguousSet.range(BoundType lowerBoundType,
BoundType upperBoundType)
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.range(C lower,
BoundType lowerType,
C upper,
BoundType upperType)
Returns a range that contains any value from
lower to upper , 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 of
ForwardingSortedMultiset.subMultiset(Object, BoundType, Object, BoundType) in terms
of headMultiset and
tailMultiset . |
ImmutableSortedMultiset<E> |
ImmutableSortedMultiset.subMultiset(E lowerBound,
BoundType lowerBoundType,
E upperBound,
BoundType upperBoundType) |
SortedMultiset<E> |
SortedMultiset.subMultiset(E lowerBound,
BoundType lowerBoundType,
E upperBound,
BoundType upperBoundType)
Returns a view of this multiset restricted to the range between
lowerBound and upperBound . |
SortedMultiset<E> |
ForwardingSortedMultiset.subMultiset(E lowerBound,
BoundType lowerBoundType,
E upperBound,
BoundType upperBoundType) |
abstract ImmutableSortedMultiset<E> |
ImmutableSortedMultiset.tailMultiset(E lowerBound,
BoundType boundType) |
SortedMultiset<E> |
SortedMultiset.tailMultiset(E lowerBound,
BoundType boundType)
Returns a view of this multiset restricted to the elements greater than
lowerBound , optionally including lowerBound itself. |
SortedMultiset<E> |
TreeMultiset.tailMultiset(E lowerBound,
BoundType boundType) |
SortedMultiset<E> |
ForwardingSortedMultiset.tailMultiset(E lowerBound,
BoundType boundType) |
static <C extends Comparable<?>> |
Range.upTo(C endpoint,
BoundType boundType)
Returns a range with no lower bound up to the given endpoint, which may be
either inclusive (closed) or exclusive (open).
|
Copyright © 2010–2017. All rights reserved.