org.gcube.dir.master
Interface Prototyped<T>

Type Parameters:
T - the static type of the processor's prototype (not necessarily its most specific type at runtime).
All Known Implementing Classes:
ConsistentMerger, CORIRanker, RandomRanker, RankingMerger, RoundRobinMerger

public interface Prototyped<T>

Characterises the behaviour of objects which can offer prototypical examples of their inputs.

The implication is that such processor objects have one or more methods which: (i) declare formal parameters of the type parameter, and (ii) expect actual parameters with the same runtime type as their prototypical input.

The existence of such methods or the details of their signature rest with clients.

Author:
Fabio Simeoni (University of Strathclyde)

Method Summary
 T getPrototype()
          Returns the object's prototypical input.
 

Method Detail

getPrototype

T getPrototype()
Returns the object's prototypical input.

Returns:
the prototype.