Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.trolltech.qt.core
Interface QtConcurrent.ReducedFunctor<U,T>

Enclosing class:
  QtConcurrent

    public static interface QtConcurrent.ReducedFunctor<U,T>

Implement this interface in order to perform a reduce operation.

The reduce method will be called once per intermediate result (the result of the mapping of the data) and the very first time the reduce() method is called for the particular data set, the result is set to the returned value of the defaultResult() method.

Method Summary
`U` | `defaultResult()`
`void` | `reduce(U result, T intermediate)`

Method Detail

### defaultResult

    U defaultResult()

### reduce

    void reduce(U result,
                T intermediate)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD