Package com.humaorie.dollar.ArrayWrapper

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


    @Test
    public void boxLongArray() {
        long[] unboxed = new long[]{42L, 42L, 42L};
        LongArrayWrapper arrayWrapper = new LongArrayWrapper(unboxed);
        Assert.assertArrayEquals(new Long[]{42L, 42L, 42L}, arrayWrapper.toArray());
    }

    @Test
    public void boxFloatArray() {
        float[] unboxed = new float[]{42.0f, 42.0f, 42.0f};
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.