com.github.basking2.sdsai.itrex.functions.StringSplitFunction Maven / Gradle / Ivy
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 - 2025 Weber Informatics LLC | Privacy Policy