Package sonia.scm

Interface TransformFilter<T,R>

Type Parameters:
T - type of objects to transform
R - result type of the transformation
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface TransformFilter<T,R>
Util class to transform multiple objects.
  • Method Summary

    Modifier and Type
    Method
    Description
    accept(T item)
    Transform the given object.
  • Method Details

    • accept

      R accept(T item)
      Transform the given object.
      Parameters:
      item -
      Returns:
      transformed object