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

jaskell.parsec.JoinCharacters Maven / Gradle / Ivy

Go to download

This is a utils library for java 8 project. It include parsec combinators and sql generators library.

There is a newer version: 2.9.2
Show newest version
package jaskell.parsec;

import java.io.EOFException;
import java.util.List;
import java.util.stream.Collectors;

/**
 * Created by Mars Liu on 2016/9/25.
 */

public class JoinCharacters
    implements Binder, String, Status, Tran> {
    public Parsec bind(List value) {
        return state -> {
            StringBuilder sb = new StringBuilder();
            value.forEach(sb::append);
            return sb.toString();
        };
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy