Lines Matching refs:toElement
317 * @throws NullPointerException if {@code fromElement} or {@code toElement}
324 E toElement, boolean toInclusive) {
326 toElement, toInclusive));
331 * @throws NullPointerException if {@code toElement} is null and
337 public NavigableSet<E> headSet(E toElement, boolean inclusive) {
338 return new TreeSet<>(m.headMap(toElement, inclusive));
356 * {@code toElement} is null and this set uses natural ordering,
360 public SortedSet<E> subSet(E fromElement, E toElement) {
361 return subSet(fromElement, true, toElement, false);
366 * @throws NullPointerException if {@code toElement} is null
371 public SortedSet<E> headSet(E toElement) {
372 return headSet(toElement, false);