Package com.redhat.ceylon.compiler.java.language.IntArray

Examples of com.redhat.ceylon.compiler.java.language.IntArray.IntArrayIterable.any()


        }
        BetweenPred between3And4 = new BetweenPred(3,4);
        Assert.assertTrue(zero_ten.any(between3And4));
        Assert.assertTrue(zero_five.any(between3And4));
        Assert.assertFalse(five_ten.any(between3And4));
        Assert.assertFalse(zero.any(between3And4));
        Assert.assertFalse(ten.any(between3And4));

        // contains
        Assert.assertTrue(zero_ten.contains(ceylon.language.Integer.instance(0)));
        Assert.assertTrue(zero_ten.contains(ceylon.language.Integer.instance(10)));
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.