Package com.humaorie.dollar.ArrayWrapper

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


    @Test
    public void unboxCharacterArrayToByteArray() {
        Character[] boxed = new Character[] { 'f', 'o', 'o' };
        CharArrayWrapper arrayWrapper = new CharArrayWrapper(boxed);
        Assert.assertArrayEquals(new byte[] { 'f', 'o', 'o' },
                arrayWrapper.toByteArray());
    }

    @Test
    public void unboxCharacterArrayToIntArray() {
        Character[] boxed = new Character[]{'f', 'o', 'o'};
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.