Trie function ( Trie arg0 ) { if ( arg0 . hasChildren ( ) ) { arg0 . getChildren ( ) . trimToSize ( ) ; for ( int loc0 = 0 ; loc0 < arg0 . getChildren ( ) . size ( ) ; loc0 ++ ) { trimChildren ( arg0 . getChildren ( ) . get ( loc0 ) ) ; } } return arg0 ; }
goes through each trie recursively and uses trimtosize on its children arraylist . concode_field_sep Trie parent concode_elem_sep File file concode_elem_sep int frequency concode_elem_sep ArrayList<Trie> children concode_elem_sep char element concode_field_sep Trie getParent concode_elem_sep int getFrequency concode_elem_sep boolean hasChildren concode_elem_sep Trie getChild concode_elem_sep void increaseFrequency concode_elem_sep ArrayList<Trie> getChildren concode_elem_sep ArrayList<Trie> sortFreq concode_elem_sep Trie prepTrie concode_elem_sep boolean hasSpecificChild concode_elem_sep char getElement concode_elem_sep Trie buildTrie concode_elem_sep char[] getResult concode_elem_sep String toString concode_elem_sep void setElement concode_elem_sep void setParent concode_elem_sep void setChildren concode_elem_sep void addChild