Package com.humaorie.dollar.ArrayWrapper

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


    @Test
    public void unboxByteArrayToIntArray() {
        Byte[] boxed = new Byte[]{42, 43, 44};
        ByteArrayWrapper arrayWrapper = new ByteArrayWrapper(boxed);
        Assert.assertArrayEquals(new int[]{42, 43, 44}, arrayWrapper.toIntArray());
    }

    @Test
    public void unboxByteArrayToLongArray() {
        Byte[] boxed = new Byte[]{42, 43, 44};
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.