167168169170171172173174175176177
POA parent = poa; ArrayList<String> al = new ArrayList<String> (); while (parent != null) { al.add (parent.the_name ()); parent = (POA) parent.the_parent (); } int size = al.size (); adapter_name = new String [size];