src/share/classes/java/util/NavigableSet.java

Print this page
rev 7361 : 7129185: Add Collections.{checked|empty|unmodifiable}Navigable{Map|Set}
Reviewed-by: dmocek, martin, smarks

*** 301,311 **** * <p>Equivalent to {@code headSet(toElement, false)}. * * @throws ClassCastException {@inheritDoc} * @throws NullPointerException {@inheritDoc} * @throws IllegalArgumentException {@inheritDoc} ! na */ SortedSet<E> headSet(E toElement); /** * {@inheritDoc} * --- 301,311 ---- * <p>Equivalent to {@code headSet(toElement, false)}. * * @throws ClassCastException {@inheritDoc} * @throws NullPointerException {@inheritDoc} * @throws IllegalArgumentException {@inheritDoc} ! */ SortedSet<E> headSet(E toElement); /** * {@inheritDoc} *