Esempio n. 1
0
 public Set<String> getAllAttributeKeys() {
   // slow but effective algorithm
   Set<String> result = new TreeSet<>();
   java.util.Iterator<RosterEntry> i = _list.iterator();
   while (i.hasNext()) {
     RosterEntry r = i.next();
     result.addAll(r.getAttributes());
   }
   return result;
 }