Interface TemplateFilter
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Template Filter - Filter interface for template value transformation.
模板过滤器 - 用于模板值转换的过滤器接口。
Features | 主要功能:
- Functional interface for lambda-based filters - 函数式接口支持Lambda过滤器
- Value transformation with optional arguments - 值转换支持可选参数
Usage Examples | 使用示例:
TemplateFilter upper = (value, args) -> value.toUpperCase();
String result = upper.apply("hello", new String[]{}); // "HELLO"
Security | 安全性:
- Thread-safe: Depends on implementation - 线程安全: 取决于实现
- Since:
- JDK 25, opencode-base-string V1.0.0
- Author:
- Leon Soo www.LeonSoo.com
- See Also:
-
Method Summary
-
Method Details
-
apply
-