stools-core/src/main/java/ch/uzh/ddis/stools/monitoring/AbstractAggregator.java
protected long updateTaskContribution(Integer taskId, long newValue) {
        long result;

        result = this.taskValues.get(taskId).longValue();
        this.taskValues.put(taskId, newValue);

        return result;
    }
/**
     * Looks up and updates the contribution that a task has made to the current aggregate.
     * @param taskId the task whose contribution should be looked up.
     * @param newValue the new contribution for this task.
     * @return the old contribution.
     */
Looks up and updates the contribution that a task has made to the current aggregate.
@param taskId the task whose contribution should be looked up.
@param newValue the new contribution for this task.
@return the old contribution.
Looks up and updates the contribution that a task has made to the current aggregate . @param taskId the task whose contribution should be looked up . @param newValue the new contribution for this task . @return the old contribution .
protected long updateTaskContribution(Integer taskId, long newValue) {
        long result;
        result = this.taskValues.get(taskId).longValue();
        this.taskValues.put(taskId, newValue);
        return result;
    }
protected long updateTaskContribution ( Integer taskId , long newValue ) { long result ; result = this . taskValues . get ( taskId ) . longValue ( ) ; this . taskValues . put ( taskId , newValue ) ; return result ; }
Looks up and updates the contribution that a task has made to the current aggregate.
Looks up and updates the contribution that a task has made to the current aggregate .