public void startAllTasks() {
        while (queue.size() != 0 && !stopSign) {
            ICBTask task = queue.poll();
            if (task == null) {
                continue;
            }
            setAndStartTask(task);
        }
    }
public void startAllTasks() {
        while (queue.size() != 0 && !stopSign) {
            ICBTask task = queue.poll();
            if (task == null) {
                continue;
            }
            setAndStartTask(task);
        }
    }
public void startAllTasks ( ) { while ( queue . size ( ) != 0 && ! stopSign ) { ICBTask task = queue . poll ( ) ; if ( task == null ) { continue ; } setAndStartTask ( task ) ; } }
开始执行
开始执行