public JQMListDivider findDivider(String text) {
        for (int k = 0; k < list.getWidgetCount(); k++) {
            Widget w = list.getWidget(k);
            if (isDivider(w) && w.getElement().getInnerText().equals(text)) {
                return (JQMListDivider) w;
            }
        }
        return null;
    }
public JQMListDivider findDivider ( String text ) { for ( int k = 0 ; k < list . getWidgetCount ( ) ; k ++ ) { Widget w = list . getWidget ( k ) ; if ( isDivider ( w ) && w . getElement ( ) . getInnerText ( ) . equals ( text ) ) { return ( JQMListDivider ) w ; } } return null ; }
Find the divider with the given text. This method will search all the dividers and return the first divider
found with the given text.

@return the divider with the given text (if found, or null otherwise).