public < Intermediate > TransformationConcatenator < Intermediate , Target > first ( Transformation < Source , Intermediate > firstTransformation ) { transformationChain = new TransformationChain < Source , Target > ( ) ; transformationChain . chain . add ( firstTransformation ) ; return new TransformationConcatenator < Intermediate , Target > ( ) ; }
Adds the first sub - transformation to the chain . Subsequent transformations can be added by invoking methods on the TransformationConcatenator returned by this method .