static Collection ai_expandShortenedKeys_multi(Iterable l) { new LinkedHashSet set; if (l != null) for (Symbol sKey : l) if (sKey != null) { if (!ai_possiblyShortenedKey(sKey)) set.add(sKey); else for (int position = 0; position < 3; position++) for (TripleRef r : unnull(tripleIndex().getTripleRefs(sKey, position))) if (r != null) set.add(r.get()); } ret set; }