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.

@FunctionalInterface public interface StringSplitOperator
Represents string split operation into a list of tokens where each token has as maximum length.
  • Method Summary

    Modifier and Type
    Method
    Description
    applySplit(String _text, int _len)
    Applies this operator to the given operands.
  • Method Details

    • applySplit

      List<String> applySplit(String _text, int _len)
      Applies this operator to the given operands.
      Parameters:
      _text - text to split
      _len - max length of each split token
      Returns:
      list of split tokens