Package net.jcores.jre.cores

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


    /** */
    @Test
    public void testIndex() {
        final CoreString cs = $(Data.sn);
        Assert.assertEquals(2, cs.index("2").i(0));
        Assert.assertEquals(20, cs.index("10", "20").i(1));
    }

    /** */
    @Test
View Full Code Here


    /** */
    @Test
    public void testIndex() {
        final CoreString cs = $(Data.sn);
        Assert.assertEquals(2, cs.index("2").i(0));
        Assert.assertEquals(20, cs.index("10", "20").i(1));
    }

    /** */
    @Test
    public void testRandom() {
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.