Hi,
How would I go about getting the elements in the arrayList?
it does print back Verts: [F@4fe5e2c3
Any help would be appreciated
How would I go about getting the elements in the arrayList?
it does print back Verts: [F@4fe5e2c3
Any help would be appreciated
public class Model1
{
private ArrayList< float[] >vertX;
private float[]x = { 1.0f, 9.0f, 7.9f };
public Model1()
{
// TODO Auto-generated constructor stub
super();
x = new float[ 20 ];
vertX = new ArrayList< float[] >();
vertX.add( x );
for( int i = 0; i < vertX.size(); i++ )
{
System.out.println( "Verts: " + vertX.get( i ) );
}
}
/**
* @param args
*/
public static void main(String[] args)
{
// TODO Auto-generated method stub
new Model1();
}
}