com.trolltech.qt.core
Interface QtConcurrent.ReducedFunctor

Enclosing class:
QtConcurrent

public static interface QtConcurrent.ReducedFunctor

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
 java.lang.Object defaultResult()
           
 void reduce(java.lang.Object result, java.lang.Object intermediate)
           
 

Method Detail

defaultResult

java.lang.Object defaultResult()

reduce

void reduce(java.lang.Object result,
            java.lang.Object intermediate)