Uses of Interface
com.google.common.collect.Constraint
-
Packages that use Constraint Package Description 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
Fields in com.google.common.collect declared as Constraint Modifier and Type Field Description private Constraint<? super E>
Constraints.ConstrainedCollection. constraint
(package private) Constraint<? super E>
Constraints.ConstrainedList. constraint
private Constraint<? super E>
Constraints.ConstrainedListIterator. constraint
private Constraint<? super E>
Constraints.ConstrainedSet. constraint
(package private) Constraint<? super E>
Constraints.ConstrainedSortedSet. constraint
Methods in com.google.common.collect with parameters of type Constraint Modifier and Type Method Description private static <E> java.util.Collection<E>
Constraints. checkElements(java.util.Collection<E> elements, Constraint<? super E> constraint)
static <E> java.util.Collection<E>
Constraints. constrainedCollection(java.util.Collection<E> collection, Constraint<? super E> constraint)
Returns a constrained view of the specified collection, using the specified constraint.static <E> java.util.List<E>
Constraints. constrainedList(java.util.List<E> list, Constraint<? super E> constraint)
Returns a constrained view of the specified list, using the specified constraint.private static <E> java.util.ListIterator<E>
Constraints. constrainedListIterator(java.util.ListIterator<E> listIterator, Constraint<? super E> constraint)
Returns a constrained view of the specified list iterator, using the specified constraint.static <E> java.util.Set<E>
Constraints. constrainedSet(java.util.Set<E> set, Constraint<? super E> constraint)
Returns a constrained view of the specified set, using the specified constraint.static <E> java.util.SortedSet<E>
Constraints. constrainedSortedSet(java.util.SortedSet<E> sortedSet, Constraint<? super E> constraint)
Returns a constrained view of the specified sorted set, using the specified constraint.(package private) static <E> java.util.Collection<E>
Constraints. constrainedTypePreservingCollection(java.util.Collection<E> collection, Constraint<E> constraint)
Constructors in com.google.common.collect with parameters of type Constraint Constructor Description ConstrainedCollection(java.util.Collection<E> delegate, Constraint<? super E> constraint)
ConstrainedList(java.util.List<E> delegate, Constraint<? super E> constraint)
ConstrainedListIterator(java.util.ListIterator<E> delegate, Constraint<? super E> constraint)
ConstrainedRandomAccessList(java.util.List<E> delegate, Constraint<? super E> constraint)
ConstrainedSet(java.util.Set<E> delegate, Constraint<? super E> constraint)
ConstrainedSortedSet(java.util.SortedSet<E> delegate, Constraint<? super E> constraint)
-