Interface CachedTransform.TryApply<A,B>

Type Parameters:
A - the target type of the containing pattern
B - the target type of the contained subpattern
All Known Subinterfaces:
ReflectionPatterns.Access<A>
Enclosing class:
CachedTransform<A,B>
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 static interface CachedTransform.TryApply<A,B>
The functional interface for the method CachedTransform.tryApply(A).
  • Method Summary

    Modifier and Type
    Method
    Description
    tryApply(A target)
    Checks whether a target can be transformed and transforms it.