Package com.humaorie.dollar.ArrayWrapper

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


    @Test
    public void boxByteArray() {
        byte[] unboxed = new byte[]{42, 42, 42};
        ByteArrayWrapper arrayWrapper = new ByteArrayWrapper(unboxed);
        Assert.assertArrayEquals(new Byte[]{42, 42, 42}, arrayWrapper.toArray());
    }

    @Test
    public void boxShortArray() {
        short[] unboxed = new short[]{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.