depth first algorithm for crawling the social network concode_field_sep Twitter twitter concode_elem_sep String rootUser concode_elem_sep int maxDepth concode_elem_sep PersistentCache repository concode_field_sep List<User> adaptUsers concode_elem_sep UserProfile ensureUserProfile concode_elem_sep void main concode_elem_sep void run concode_elem_sep void getFriendsDepthFirst
void function ( User arg0 ) { LinkedList < User > loc0 = new LinkedList < User > ( ) ; loc0 . add ( arg0 ) ; while ( ! loc0 . isEmpty ( ) ) { User loc1 = loc0 . remove ( ) ; UserProfile loc2 = ensureUserProfile ( repository , twitter , loc1 ) ; for ( User loc3 : loc2 . getFriends ( ) ) { loc0 . add ( loc3 ) ; } } }