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

com.github.basking2.sdsai.itrex.functions.StringSplitFunction Maven / Gradle / Ivy

There is a newer version: 1.1.23
Show newest version
package com.github.basking2.sdsai.itrex.functions;

import com.github.basking2.sdsai.itrex.EvaluationContext;

import java.util.Arrays;
import java.util.Iterator;
import java.util.List;

public class StringSplitFunction extends AbstractFunction2> {
    @Override
    protected List applyImpl(final String pattern, final String str, final Iterator rest, final EvaluationContext context) {
        return Arrays.asList(str.split(pattern));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy