@@ -732,9 +732,10 @@ private <T extends Node> List<T> childNodesOfType(Class<T> tClass) {
732732
733733 /**
734734 Remove the Element at the specified index in this ist, and from the DOM.
735- * @param index the index of the element to be removed
736- * @return the old element at this index
737- * @since 1.17.1
735+ @param index the index of the element to be removed
736+ @return the old element at this index
737+ @see #deselect(int)
738+ @since 1.17.1
738739 */
739740 @ Override public Element remove (int index ) {
740741 Element old = super .remove (index );
@@ -744,9 +745,10 @@ private <T extends Node> List<T> childNodesOfType(Class<T> tClass) {
744745
745746 /**
746747 Remove the specified Element from this list, and from the DOM.
747- * @param o element to be removed from this list, if present
748- * @return if this list contained the Element
749- * @since 1.17.1
748+ @param o element to be removed from this list, if present
749+ @return if this list contained the Element
750+ @see #deselect(Object)
751+ @since 1.17.1
750752 */
751753 @ Override public boolean remove (Object o ) {
752754 int index = super .indexOf (o );
@@ -759,35 +761,46 @@ private <T extends Node> List<T> childNodesOfType(Class<T> tClass) {
759761 }
760762
761763 /**
762- * Remove the Element at the specified index in this list, but not from the DOM.
763- * @param index the index of the element to be removed
764- * @return the old element at this index
765- * @since 1.19.2
764+ Remove the Element at the specified index in this list, but not from the DOM.
765+ @param index the index of the element to be removed
766+ @return the old element at this index
767+ @see #remove(int)
768+ @since 1.19.2
766769 */
767770 public Element deselect (int index ) {
768771 return super .remove (index );
769772 }
770773
771774 /**
772- * Remove the specified Element from this list, but not from the DOM.
773- * @param o element to be removed from this list, if present
774- * @return if this list contained the Element
775- * @since 1.19.2
775+ Remove the specified Element from this list, but not from the DOM.
776+ @param o element to be removed from this list, if present
777+ @return if this list contained the Element
778+ @see #remove(Object)
779+ @since 1.19.2
776780 */
777781 public boolean deselect (Object o ) {
778782 return super .remove (o );
779783 }
780784
781785 /**
782786 Removes all the elements from this list, and each of them from the DOM.
783- * @since 1.17.1
784- * @see #remove ()
787+ @since 1.17.1
788+ @see #deselectAll ()
785789 */
786790 @ Override public void clear () {
787791 remove ();
788792 super .clear ();
789793 }
790794
795+ /**
796+ Like {@link #clear()}, removes all the elements from this list, but not from the DOM.
797+ @see #clear()
798+ @since 1.19.2
799+ */
800+ public void deselectAll () {
801+ super .clear ();
802+ }
803+
791804 /**
792805 Removes from this list, and from the DOM, each of the elements that are contained in the specified collection and
793806 are in this list.
0 commit comments