- All Known Implementing Classes:
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface @ParametersAreNonnullByDefault public interface TextFilter extends Function<CharSequence,CharSequence>A text filter modifies a text in a defined manner. It should be highly optimized for speed.
Text filters are thread safe unless stated otherwise.
Text filters are stateless unless stated otherwise.
- Richard "Shred" Körber
- Specified by:
CharSequencewith the contents to be filtered. If this is a
StringBuilderinstance, its contents may have changed after invocation, and this instance should not be used any more.
CharSequencewith the filtered text.