de.unkrig.commons.lang.protocol
Interface Duplexer<T>

Type Parameters:
T -

public interface Duplexer<T>

An entity that creates an object based on two other objects of the same type (the 'delegates').

The product typically forwards invocations of its methods to the same methods of either delegate.


Method Summary
 T produce(T delegate1, T delegate2)
           
 

Method Detail

produce

T produce(T delegate1,
          T delegate2)
Returns:
An entity that creates an object based on delegate1 and delegate2