All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.hypfvieh.formatter.StringSplitOperator Maven / Gradle / Ivy

Go to download

A collection of utils commonly used in my projects. Feel free to use it (or parts of it) in your own projects.

The newest version!
package com.github.hypfvieh.formatter;

/**
 * Represents string split operation into a list of tokens where each token has as maximum length.
 *
 */
@FunctionalInterface
public interface StringSplitOperator {

    /**
     * Applies this operator to the given operands.
     *
     * @param _text text to split
     * @param _len max length of each split token
     * @return list of split tokens
     */
    java.util.List applySplit(String _text, int _len);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy