Пример #1
0
 public void setAcceptedCallingAETitles(String... aets) {
   acceptedCallingAETitlesSet.clear();
   for (String name : aets) acceptedCallingAETitlesSet.add(name);
 }
Пример #2
0
 public boolean isAcceptedCallingAETitle(String aet) {
   return acceptedCallingAETitlesSet.isEmpty() || acceptedCallingAETitlesSet.contains(aet);
 }
Пример #3
0
 public String[] getAcceptedCallingAETitles() {
   return acceptedCallingAETitlesSet.toArray(new String[acceptedCallingAETitlesSet.size()]);
 }