Lines Matching refs:toElement
122 * from {@code fromElement}, inclusive, to {@code toElement},
123 * exclusive. (If {@code fromElement} and {@code toElement} are
133 * @param toElement high endpoint (exclusive) of the returned set
135 * {@code fromElement}, inclusive, to {@code toElement}, exclusive
137 * {@code toElement} cannot be compared to one another using this
141 * {@code toElement} cannot be compared to elements currently in
144 * {@code toElement} is null and this set does not permit null
147 * greater than {@code toElement}; or if this set itself
149 * {@code toElement} lies outside the bounds of the range
151 SortedSet<E> subSet(E fromElement, E toElement);
155 * strictly less than {@code toElement}. The returned set is
163 * @param toElement high endpoint (exclusive) of the returned set
165 * less than {@code toElement}
166 * @throws ClassCastException if {@code toElement} is not compatible
168 * if {@code toElement} does not implement {@link Comparable}).
170 * exception if {@code toElement} cannot be compared to elements
172 * @throws NullPointerException if {@code toElement} is null and
175 * restricted range, and {@code toElement} lies outside the
178 SortedSet<E> headSet(E toElement);