I'm having a hard time showing (this may be using for
) the value of this HashMap. Does anyone know how? The console only shows this value:
{joao = [Ljava.lang.String; @ 2b05039f}
I can not show the inner vector, String[]
:
HashMap<String, String[][]> hm = new HashMap<String,String[][]>();
hm.put("joao", new String[][]{
{"joao", "joao"}
} );
What I want is to represent a data structure like this:
array
0 =>
array
'input1' =>
array
'pattern' => string '[\+]\d{2}[\(]\d{2}[\)]\d{4}[\-]\d{4}'
'type' => string 'tel'
'value' => string '+91 98111222333'
1 =>
array
'button1' =>
array
'pattern' => string '
'type' => string 'button'
'value' => string 'validate'