Package com.github.hypfvieh.formatter
Interface StringSplitOperator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Represents string split operation into a list of tokens where each token has as maximum length.
-
Method Summary
Modifier and TypeMethodDescriptionapplySplit(String _text, int _len) Applies this operator to the given operands.
-
Method Details
-
applySplit
Applies this operator to the given operands.- Parameters:
_text- text to split_len- max length of each split token- Returns:
- list of split tokens
-