/** * Insert into the given adapter name (<code>String[]</code>) into the * given {@link Any}. * * @param into the target Any. * @param that the array to insert. */ public static void insert(Any into, String[] that) { StringSeqHolder holder = new StringSeqHolder(that); into.insert_Streamable(holder); into.type(type()); }
/** * Extract the adapter name (<code>String[]</code>) from the given {@link Any}. * * @param a an Any to extract the array from. * * @return the extracted array. */ public static String[] extract(Any a) { StringSeqHolder h = (StringSeqHolder) a.extract_Streamable(); return h.value; }