com.infomancers.collections.iterators
Class ChainedTransformations

java.lang.Object
  extended by com.infomancers.collections.iterators.ChainedTransformations

public final class ChainedTransformations
extends java.lang.Object

Utility class to create chained transformations.


Constructor Summary
ChainedTransformations()
           
 
Method Summary
static
<T1,T2,T3> Transformation<T1,T3>
chainTransformations(Transformation<T1,T2> first, Transformation<T2,T3> second)
           
static
<T1,T2,T3,T4>
Transformation<T1,T4>
chainTransformations(Transformation<T1,T2> first, Transformation<T2,T3> second, Transformation<T3,T4> third)
           
static
<T1,T2,T3,T4,T5>
Transformation<T1,T5>
chainTransformations(Transformation<T1,T2> first, Transformation<T2,T3> second, Transformation<T3,T4> third, Transformation<T4,T5> forth)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChainedTransformations

public ChainedTransformations()
Method Detail

chainTransformations

public static <T1,T2,T3> Transformation<T1,T3> chainTransformations(Transformation<T1,T2> first,
                                                                    Transformation<T2,T3> second)

chainTransformations

public static <T1,T2,T3,T4> Transformation<T1,T4> chainTransformations(Transformation<T1,T2> first,
                                                                       Transformation<T2,T3> second,
                                                                       Transformation<T3,T4> third)

chainTransformations

public static <T1,T2,T3,T4,T5> Transformation<T1,T5> chainTransformations(Transformation<T1,T2> first,
                                                                          Transformation<T2,T3> second,
                                                                          Transformation<T3,T4> third,
                                                                          Transformation<T4,T5> forth)