public Log[] getChildren() {
        Collection copy;

        synchronized (mChildren) {
            copy = new ArrayList(mChildren.size());
            Iterator it = mChildren.iterator();
            while (it.hasNext()) {
                Log child = (Log)((WeakReference)it.next()).get();
                if (child == null) {
                    it.remove();
                }
                else {
                    copy.add(child);
                }
            }
        }

        return (Log[])copy.toArray(new Log[copy.size()]);
    }
public Log [ ] getChildren ( ) { Collection copy ; synchronized ( mChildren ) { copy = new ArrayList ( mChildren . size ( ) ) ; Iterator it = mChildren . iterator ( ) ; while ( it . hasNext ( ) ) { Log child = ( Log ) ( ( WeakReference ) it . next ( ) ) . get ( ) ; if ( child == null ) { it . remove ( ) ; } else { copy . add ( child ) ; } } } return ( Log [ ] ) copy . toArray ( new Log [ copy . size ( ) ] ) ; }
Returns a copy of the children Logs.