Package com.humaorie.dollar.ArrayWrapper

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


    @Test
    public void boxBooleanArray() {
        boolean[] unboxed = new boolean[]{true, true, true};
        BooleanArrayWrapper arrayWrapper = new BooleanArrayWrapper(unboxed);
        Assert.assertArrayEquals(new Boolean[]{true, true, true}, arrayWrapper.toArray());
    }

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