org.apache.jackrabbit.spi.commons.iterator
Interface Transformer<A,R>

Type Parameters:
A - argument type to transform from
R - result type to transform to

public interface Transformer<A,R>

Type safe counter part of Transformer.


Method Summary
 R transform(A argument)
          Transforms the input object (leaving it unchanged) into some output object.
 

Method Detail

transform

R transform(A argument)
Transforms the input object (leaving it unchanged) into some output object.

Parameters:
input - the object to be transformed, should be left unchanged
Returns:
a transformed object


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.