Lines Matching defs:set
108 * Returns a constrained view of the specified set, using the specified
109 * constraint. Any operations that add new elements to the set will call the
113 * <p>The returned set is not serializable.
115 * @param set the set to constrain
117 * @return a constrained view of the set
120 Set<E> set, Constraint<? super E> constraint) {
121 return new ConstrainedSet<E>(set, constraint);
146 * Returns a constrained view of the specified sorted set, using the specified
147 * constraint. Any operations that add new elements to the sorted set will
151 * <p>The returned set is not serializable.
153 * @param sortedSet the sorted set to constrain
155 * @return a constrained view of the sorted set
249 @Override public E set(int index, E element) {
251 return delegate.set(index, element);
300 @Override public void set(E element) {
302 delegate.set(element);