org.apache.hadoop.examples.pi
Interface Combinable<T>

Type Parameters:
T - The generic type
All Superinterfaces:
Comparable<T>
All Known Implementing Classes:
Summation, TaskResult

public interface Combinable<T>
extends Comparable<T>

A class is Combinable if its object can be combined with other objects.


Method Summary
 T combine(T that)
          Combine this with that.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

combine

T combine(T that)
Combine this with that.

Parameters:
that - Another object.
Returns:
The combined object.


Copyright © 2009 The Apache Software Foundation