partage
Class ComplexInstance.SumAggregator

java.lang.Object
  extended by partage.ComplexInstance.AbstractIntegerAggregator
      extended by partage.ComplexInstance.SumAggregator
Enclosing class:
ComplexInstance

public static class ComplexInstance.SumAggregator
extends ComplexInstance.AbstractIntegerAggregator

An implementation of a real aggregator which computes the sum of the weights.

Version:
july 2007
Author:
Sylvain Bouveret

Constructor Summary
ComplexInstance.SumAggregator()
           
 
Method Summary
 int aggregate(int i1, int i2)
           
 
Methods inherited from class partage.ComplexInstance.AbstractIntegerAggregator
aggregate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComplexInstance.SumAggregator

public ComplexInstance.SumAggregator()
Method Detail

aggregate

public int aggregate(int i1,
                     int i2)
Specified by:
aggregate in class ComplexInstance.AbstractIntegerAggregator