示例#1
0
文件: Roster.java 项目: KenC57/JMRI
 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;
 }