やあみんな、私はこのようなものを持っています:
String keyBase = "keyA";
String[] valueBase = {"a1","a2","a3"};
String keyLevel1 = "keyB";
String[] valueLevel1 = {"b1","b2","b3"};
String keyLevel2 = "keyC";
String[] valueLevel2 = {"c1","c2","c3"};
そして、このようなものが必要です:
String[][] f1 = {{"keyA","a1"},{"keyB","b1"}{"keyC","c1"}}
String[][] f2 = {{"keyA","a1"},{"keyB","b1"}{"keyC","c2"}}
String[][] f2 = {{"keyA","a1"},{"keyB","b1"}{"keyC","c3"}}
String[][] f5 = {{"keyA","a1"},{"keyB","b2"}{"keyC","c1"}}
String[][] f6 = {{"keyA","a1"},{"keyB","b2"}{"keyC","c2"}}
...
これを行うための簡単ですが良い方法は何ですか?
ありがとう