- Type Parameters:
S- any Java typeT- 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
-
Method Details
-
apply
Apply this Transform to the element x of S.- Parameters:
x- an element of S- Returns:
- the result of applying this Transform to x
-