Package net.jcores.jre.cores

Examples of net.jcores.jre.cores.CoreString.join()


                arrayList.add("y");
                arrayList.add("z");
                return arrayList;
            }
        }).expand(String.class).as(CoreString.class);
        String join = e2.join(" ");
        System.out.println("'" + join + "'");

        $("debug1.txt", "debug2.txt").file().delete().append(join);

        //System.out.println(array[0]);
View Full Code Here


    @Test
    public void testSerialize() {
        $("hello", "world").as(CoreObject.class).serialize("test.jcores");
        final CoreString converted = $("test.jcores").file().deserialize(String.class).string();
        $.report();
        Assert.assertEquals("helloworld", converted.join());

        $(Data.strings(10000)).as(CoreObject.class).serialize("big.file");
    }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.