public Enumeration elements ( ) { Iterator iter ; Vector list ; iter = m_Words . iterator ( ) ; list = new Vector ( ) ; while ( iter . hasNext ( ) ) list . add ( iter . next ( ) ) ; // sort list Collections . sort ( list ) ; return list . elements ( ) ; }
Returns a sorted enumeration over all stored stopwords