jorge-aranda / data-factory-api-core

Makes your Java Collections using a DSL language provided by this library on an easy way

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DATA FACTORY API

Makes your Java Collections using a DSL language provided by this library on an easy way

For example:

    List<String> helloWorld = DataFactory
        .item("Hello")
        .item(" ")
        .item("World")
        .item("!")
    .toList();  // you can use .toCollection() or what else instead of
    
    // shows 'Hello World!' into standard output
    System.out.println(
        StringUtils.join(helloWorld, StringUtils.EMPTY)
    );

** Java Compatibility version: ** You can use this library from JRE 6 and compile with JDK 6.

About

Makes your Java Collections using a DSL language provided by this library on an easy way

License:Apache License 2.0


Languages

Language:Java 100.0%