public int enumerate(Thread[] threads){
  return enumerate(threads,true);
}

public int enumerate ( Thread [ ] threads ) { return enumerate ( threads , true ) ; }
iterates over all active threads in this group ( and its sub - groups ) and stores the threads in the given array . returns when the array is full or no more threads remain , whichever happens first . < p > note that this method will silently ignore any threads that don ' t fit in the supplied array .
