Interface Transform<S,T>

Type Parameters:
S - any Java type
T - any Java type
All Known Subinterfaces:
CanonicalRenamer, UnaryOperator<T>

public interface Transform<S,T>
A Transform from type S to type T is an object that provides a method "apply" which takes an element of S and returns an element of T.
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(S x)
    Apply this Transform to the element x of S.
  • Method Details

    • apply

      T apply(S x)
      Apply this Transform to the element x of S.
      Parameters:
      x - an element of S
      Returns:
      the result of applying this Transform to x