コード例 #1
0
 /**
  * Implements the <tt>ProtocolIcon.getSupportedSizes()</tt> method. Returns an iterator to a set
  * containing the supported icon sizes.
  *
  * @return an iterator to a set containing the supported icon sizes
  */
 public Iterator<String> getSupportedSizes() {
   return iconsTable.keySet().iterator();
 }
コード例 #2
0
 /**
  * Returns a copy of the list containing all accounts currently registered in this protocol
  * provider.
  *
  * @return a copy of the llist containing all accounts currently installed in the protocol
  *     provider.
  */
 public ArrayList getRegisteredAccounts() {
   return new ArrayList(registeredAccounts.keySet());
 }