Package com.humaorie.dollar.ArrayWrapper

Examples of com.humaorie.dollar.ArrayWrapper.CharArrayWrapper.toArray()


    // array boxing tests
    @Test
    public void boxCharacterArray() {
        char[] unboxed = new char[]{'f', 'o', 'o'};
        CharArrayWrapper arrayWrapper = new CharArrayWrapper(unboxed);
        Assert.assertArrayEquals(new Character[]{'f', 'o', 'o'}, arrayWrapper.toArray());
    }

    @Test
    public void boxBooleanArray() {
        boolean[] unboxed = new boolean[]{true, true, true};
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.