G
gimme_this_gimme_that
I have a variable c defined like this:
Object[][] c = {{"asdfa",new Long(0)},{"asdfa",new Long(0)}};
Is there a way to define it so the number of elements is defined in
brackets?
Something like this:
Object[][] c = new {new String(""),new Long(0),new Long(0)}[2];
Object[][] c = {{"asdfa",new Long(0)},{"asdfa",new Long(0)}};
Is there a way to define it so the number of elements is defined in
brackets?
Something like this:
Object[][] c = new {new String(""),new Long(0),new Long(0)}[2];