Package stallone.doubles

Examples of stallone.doubles.ForeignBufferDoubleArray.rows()


    public void testForeignBufferDoubleArray()
    {
        ByteBuffer buff = ByteBuffer.allocateDirect(10 * Double.SIZE);
        ForeignBufferDoubleArray array = new ForeignBufferDoubleArray(buff, 10, 1);
       
        Assert.assertEquals(10, array.rows());
        Assert.assertEquals(1, array.columns());
        Assert.assertEquals(10, array.size());
    }

    @Test
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.