|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Constraint | |
---|---|
com.google.common.collect | This package contains generic collection interfaces and implementations, and other utilities for working with collections. |
Uses of Constraint in com.google.common.collect |
---|
Methods in com.google.common.collect that return Constraint | ||
---|---|---|
static
|
Constraints.notNull()
Returns a constraint that verifies that the element is not null. |
Methods in com.google.common.collect with parameters of type Constraint | ||
---|---|---|
static
|
Constraints.constrainedCollection(Collection<E> collection,
Constraint<? super E> constraint)
Returns a constrained view of the specified collection, using the specified constraint. |
|
static
|
Constraints.constrainedList(List<E> list,
Constraint<? super E> constraint)
Returns a constrained view of the specified list, using the specified constraint. |
|
static
|
Constraints.constrainedMultiset(Multiset<E> multiset,
Constraint<? super E> constraint)
Returns a constrained view of the specified multiset, using the specified constraint. |
|
static
|
Constraints.constrainedSet(Set<E> set,
Constraint<? super E> constraint)
Returns a constrained view of the specified set, using the specified constraint. |
|
static
|
Constraints.constrainedSortedSet(SortedSet<E> sortedSet,
Constraint<? super E> constraint)
Returns a constrained view of the specified sorted set, using the specified constraint. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |