Package com.humaorie.dollar.ArrayWrapper

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


    @Test
    public void boxDoubleArray() {
        double[] unboxed = new double[]{42.0, 42.0, 42.0};
        DoubleArrayWrapper arrayWrapper = new DoubleArrayWrapper(unboxed);
        Assert.assertArrayEquals(new Double[]{42D, 42D, 42D}, arrayWrapper.toArray());
    }

    // unboxing
    @Test
    public void unboxCharacterArray() {
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.