Can you name the elements of a two-dimensional array [closed]

1

I have a jTable that is modeled through an array of objects that in turn fill with data from a sql query, but I have two types of queries and one returns me (axis1, axis2, axis3,4 , 5,6) and the other (axis3, axis2,6, axis1,4), the point would be if I can name the array field so in both cases I could retrieve the data from the column called axis1

(I mess up the data so that I can hide them from the table, for example in the second case I just want to know axis3, axis2 and 6 and the others are hidden because the model of the columns only has 3 elements)

    
asked by Emma 16.07.2016 в 00:02
source

0 answers