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 org.apache.commons.collections.Transformer.
  • Method Summary

    Modifier and Type
    Method
    Description
    transform(A argument)
    Transforms the input object (leaving it unchanged) into some output object.
  • Method Details

    • transform

      R transform(A argument)
      Transforms the input object (leaving it unchanged) into some output object.
      Parameters:
      argument - the object to be transformed, should be left unchanged
      Returns:
      a transformed object