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 |
---|---|
static <E> Constraint<E> |
Constraints.notNull()
Deprecated.
Returns a constraint that verifies that the element is not null.
|
Modifier and Type | Method and Description |
---|---|
static <E> Collection<E> |
Constraints.constrainedCollection(Collection<E> collection,
Constraint<? super E> constraint)
Deprecated.
Returns a constrained view of the specified collection, using the specified
constraint.
|
static <E> List<E> |
Constraints.constrainedList(List<E> list,
Constraint<? super E> constraint)
Deprecated.
Returns a constrained view of the specified list, using the specified
constraint.
|
static <E> Multiset<E> |
Constraints.constrainedMultiset(Multiset<E> multiset,
Constraint<? super E> constraint)
Deprecated.
Returns a constrained view of the specified multiset, using the specified
constraint.
|
static <E> Set<E> |
Constraints.constrainedSet(Set<E> set,
Constraint<? super E> constraint)
Deprecated.
Returns a constrained view of the specified set, using the specified
constraint.
|
static <E> SortedSet<E> |
Constraints.constrainedSortedSet(SortedSet<E> sortedSet,
Constraint<? super E> constraint)
Deprecated.
Returns a constrained view of the specified sorted set, using the specified
constraint.
|
Copyright © 2010-2013. All Rights Reserved.